check for the flag first
This commit is contained in:
1 parent
516cd19d68
commit
67bb704a66
1 file changed
+1
-1
@@ -1640,7 +1640,7 @@ static void GL_UpdateTexture(GLMipmap_t *pTexInfo)
|
||||
{
|
||||
for (i = 0; i < w; i++, idx++)
|
||||
{
|
||||
if ((*pImgData == HWR_PATCHES_CHROMAKEY_COLORINDEX) && chromakeyed)
|
||||
if (chromakeyed && (*pImgData == HWR_PATCHES_CHROMAKEY_COLORINDEX))
|
||||
{
|
||||
tex[idx].s.red = 0;
|
||||
tex[idx].s.green = 0;
|
||||
|
||||
Reference in new issue
Block a user