fixed copy paste error in vulkan sample

This commit is contained in:
Tim Lobner 2023-07-10 14:28:30 +02:00
parent d9a2e4641b
commit 3cb5470faa

View File

@ -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) |