From 15069341c7c8c36c7371ea1de4b63ed52034b3a8 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 12 Sep 2022 22:04:54 +0200 Subject: Fix texture uploading bug --- include/gltf.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/gltf.hpp') 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; }; -- cgit v1.3