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:
Akash 2016-07-28 18:58:06 +05:30
parent 620876e0e7
commit dbad57b8e8
1 changed files with 1 additions and 1 deletions

View File

@ -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.