Merge pull request #351 from lobneroO/FixCopyPasteError

fixed copy paste error in vulkan sample
This commit is contained in:
Adam Sawicki 2023-07-10 15:01:11 +02:00 committed by GitHub
commit 6490bb0d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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