From 3cb5470faabaf1c1ab7b60828ad8f33f22be0424 Mon Sep 17 00:00:00 2001 From: Tim Lobner Date: Mon, 10 Jul 2023 14:28:30 +0200 Subject: [PATCH] fixed copy paste error in vulkan sample --- src/VulkanSample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VulkanSample.cpp b/src/VulkanSample.cpp index 2343687..cad6ec3 100644 --- a/src/VulkanSample.cpp +++ b/src/VulkanSample.cpp @@ -767,7 +767,7 @@ static void CreateTexture(uint32_t sizeX, uint32_t sizeY) for(uint32_t y = 0; y < sizeY; ++y) { uint32_t* pPixelData = (uint32_t*)pRowData; - for(uint32_t x = 0; x < sizeY; ++x) + for(uint32_t x = 0; x < sizeX; ++x) { *pPixelData = ((x & 0x18) == 0x08 ? 0x000000FF : 0x00000000) |