Ensure using correct args during complement texture operations.

oldstable
Jason Edmeades 2003-01-21 00:41:32 +00:00 committed by Alexandre Julliard
parent b38b4c2c7c
commit b4a3f1dc68
1 changed files with 2 additions and 2 deletions

View File

@ -3424,9 +3424,9 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa
operand = GL_ONE_MINUS_SRC_ALPHA;
} else if (isComplement) {
if (isAlphaArg) {
operand = GL_ONE_MINUS_SRC_COLOR;
} else {
operand = GL_ONE_MINUS_SRC_ALPHA;
} else {
operand = GL_ONE_MINUS_SRC_COLOR;
}
} else {
if (isAlphaArg) {