From 463b4724c94f718b66f7afc9dc845c795b53b5d4 Mon Sep 17 00:00:00 2001 From: Xiang Silian Date: Wed, 15 Oct 2025 09:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=83=8C=E6=99=AF=E6=9A=97?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E9=9D=9Esrgb=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- samples/api/texture_loading/texture_loading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/api/texture_loading/texture_loading.cpp b/samples/api/texture_loading/texture_loading.cpp index f799542..fbd13cc 100644 --- a/samples/api/texture_loading/texture_loading.cpp +++ b/samples/api/texture_loading/texture_loading.cpp @@ -1399,7 +1399,7 @@ bool TextureLoading::prepare(const vkb::ApplicationOptions& options) std::vector image; unsigned w, h; unsigned error = lodepng::decode(image, w, h, filename, LCT_RGBA, 8); - processWithVulkan(image.data(), w, h, w*4, image.size(), cam_text, true); + processWithVulkan(image.data(), w, h, w*4, image.size(), cam_text, false); #endif