diff --git a/src/swrenderer/textures/r_swtexture.cpp b/src/swrenderer/textures/r_swtexture.cpp index 1b6192eee9..89f6f3bda1 100644 --- a/src/swrenderer/textures/r_swtexture.cpp +++ b/src/swrenderer/textures/r_swtexture.cpp @@ -140,7 +140,7 @@ const uint8_t *FSoftwareTexture::GetPixels(int style) { for (int x = 0; x < GetPhysicalWidth(); x++) { - Pixels[y + x * GetPhysicalHeight()] = pe[x + y * GetPhysicalWidth()].r; + Pixels[y + x * GetPhysicalHeight()] = pe[x + y * GetPhysicalWidth()].Luminance(); } } }