Ensure using correct args during complement texture operations.
This commit is contained in:
parent
b38b4c2c7c
commit
b4a3f1dc68
|
@ -3424,9 +3424,9 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa
|
||||||
operand = GL_ONE_MINUS_SRC_ALPHA;
|
operand = GL_ONE_MINUS_SRC_ALPHA;
|
||||||
} else if (isComplement) {
|
} else if (isComplement) {
|
||||||
if (isAlphaArg) {
|
if (isAlphaArg) {
|
||||||
operand = GL_ONE_MINUS_SRC_COLOR;
|
|
||||||
} else {
|
|
||||||
operand = GL_ONE_MINUS_SRC_ALPHA;
|
operand = GL_ONE_MINUS_SRC_ALPHA;
|
||||||
|
} else {
|
||||||
|
operand = GL_ONE_MINUS_SRC_COLOR;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isAlphaArg) {
|
if (isAlphaArg) {
|
||||||
|
|
Loading…
Reference in New Issue