check for the flag first
This commit is contained in:
1 parent
3dec352245
commit
99e4870a52
1 file changed
+1
-1
@@ -1613,7 +1613,7 @@ static void GL_UpdateTexture(GLMipmap_t *pTexInfo)
|
||||
{
|
||||
int idx = (w*j+i);
|
||||
|
||||
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