This commit is contained in:
Alug committed 2024-01-15 14:21:38 +01:00
1 parent 08e5b4844e
commit 35e8d54fc4
1 file changed
+1 -1
+1 -1
View File
@@ -2398,7 +2398,7 @@ static void PreparePolygon(FSurfaceInfo *pSurf, FOutVector *pOutVerts, FBITFIELD
fade.blue = byte2float[pSurf->FadeColor.s.blue];
fade.alpha = byte2float[pSurf->FadeColor.s.alpha];
if (HWR_ShouldUsePaletteRendering && gl_allowshaders)
if (HWR_ShouldUsePaletteRendering() && gl_allowshaders)
{
pglActiveTexture(GL_TEXTURE2);
pglBindTexture(GL_TEXTURE_2D, pSurf->LightTableId);