removed a redundant if statement

This commit is contained in:
myT 2020-11-05 03:55:37 +01:00
parent b1df6ac8f7
commit c12f7e8541

View file

@ -1345,12 +1345,6 @@ static void ApplyBlendFunc(unsigned int srcBlendBits, unsigned int dstBlendBits)
return;
}
if((srcBlendBits | dstBlendBits) == 0 &&
(gl.srcBlendBits | gl.dstBlendBits) == 0)
{
return;
}
gl.srcBlendBits = srcBlendBits;
gl.dstBlendBits = dstBlendBits;
if((srcBlendBits | dstBlendBits) == 0)