aboutsummaryrefslogtreecommitdiffstats
path: root/include/gltf.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2022-09-12 22:04:54 +0200
committerladevieq <ladevie.quentin@gmail.com>2022-09-12 22:04:54 +0200
commit15069341c7c8c36c7371ea1de4b63ed52034b3a8 (patch)
tree41d3640acdf4de9baf8f3bfd86afb91be2a9ab1f /include/gltf.hpp
parent1bb6caa5c8cb97f23f84ac9f3d4aa6c38b6d901c (diff)
Fix texture uploading bug
Diffstat (limited to 'include/gltf.hpp')
-rw-r--r--include/gltf.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gltf.hpp b/include/gltf.hpp
index 2f7377a..6e89509 100644
--- a/include/gltf.hpp
+++ b/include/gltf.hpp
@@ -16,8 +16,8 @@ struct node {
};
struct raw_image {
- int32_t x;
- int32_t y;
+ int32_t width;
+ int32_t height;
int32_t channels;
uint8_t *data;
};