commit | 3cb5470faabaf1c1ab7b60828ad8f33f22be0424 | [log] [tgz] |
---|---|---|
author | Tim Lobner <Tare.noN@web.de> | Mon Jul 10 14:28:30 2023 +0200 |
committer | Tim Lobner <Tare.noN@web.de> | Mon Jul 10 14:28:30 2023 +0200 |
tree | f2f1a2e0a9d0889ae726cc373757128a87141478 | |
parent | d9a2e4641ba4808e803ff555be132f280366ab47 [diff] |
fixed copy paste error in vulkan sample
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 @@ 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) |