Commit a2cb4fe
committed
gltfpack: Fix bufferView alignment
Instead of aligning *after* the offset for a buffer view was computed,
we now align each chunk that is written to the binary. This makes sure
that the start of the next chunk as well as the entire resulting buffer
is 4b aligned.1 parent 4f6a62b commit a2cb4fe
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3130 | 3130 | | |
3131 | 3131 | | |
3132 | 3132 | | |
3133 | | - | |
3134 | 3133 | | |
3135 | 3134 | | |
3136 | 3135 | | |
| |||
3139 | 3138 | | |
3140 | 3139 | | |
3141 | 3140 | | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
3142 | 3144 | | |
3143 | 3145 | | |
3144 | 3146 | | |
| |||
0 commit comments