mirror of https://github.com/PCSX2/pcsx2.git
GSDX: Silence an implicit conversion warning
OMSetBlendState() doesn't accept passing a float value as it's argument (AKA actual parameter).
This commit is contained in:
parent
620876e0e7
commit
dbad57b8e8
|
@ -567,7 +567,7 @@ void GSRendererOGL::EmulateBlending(bool DATE_GL42)
|
||||||
|
|
||||||
if (accumulation_blend) {
|
if (accumulation_blend) {
|
||||||
// Keep HW blending to do the addition/subtraction
|
// Keep HW blending to do the addition/subtraction
|
||||||
dev->OMSetBlendState(blend_index, 0.0f, false, true);
|
dev->OMSetBlendState(blend_index, 0, false, true);
|
||||||
if (ALPHA.A == 2) {
|
if (ALPHA.A == 2) {
|
||||||
// The blend unit does a reverse subtraction so it means
|
// The blend unit does a reverse subtraction so it means
|
||||||
// the shader must output a positive value.
|
// the shader must output a positive value.
|
||||||
|
|
Loading…
Reference in New Issue