diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index d6281f126..907ac7fca 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -400,7 +400,7 @@ static void polymost_drawpoly(vec2f_t const * const dpxy, int32_t const n, int32 int palid = TRANSLATION(Translation_Remap + curbasepal, globalpal); GLInterface.SetFade(globalfloorpal); - bool success = GLInterface.SetTexture(globalskytex? globalskytex : tileGetTexture(globalpicnum), globalskytex? 0 : palid, sampleroverride); + bool success = GLInterface.SetTexture(globalskytex? globalskytex : tileGetTexture(globalpicnum), !hw_int_useindexedcolortextures && globalskytex ? 0 : palid, sampleroverride); if (!success) { tsiz.x = tsiz.y = 1;