From 388b8556e5aeace391780efa809d67470bda9ff5 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 12 Jun 2025 11:54:10 +0800 Subject: [PATCH] fix incorrect index when creating texture from Ktx1Bundle --- thermion_dart/native/src/c_api/TTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_dart/native/src/c_api/TTexture.cpp b/thermion_dart/native/src/c_api/TTexture.cpp index fef51807..7a5a69ff 100644 --- a/thermion_dart/native/src/c_api/TTexture.cpp +++ b/thermion_dart/native/src/c_api/TTexture.cpp @@ -146,7 +146,7 @@ namespace thermion std::vector* vec = (std::vector*)userdata; void *callbackPtr = vec->at(0); - uintptr_t requestId = (uintptr_t)vec->at(2); + uintptr_t requestId = (uintptr_t)vec->at(1); delete vec;