From dbad57b8e8efbbbb4c67fb773e845bd9569fd109 Mon Sep 17 00:00:00 2001 From: Akash Date: Thu, 28 Jul 2016 18:58:06 +0530 Subject: [PATCH] GSDX: Silence an implicit conversion warning OMSetBlendState() doesn't accept passing a float value as it's argument (AKA actual parameter). --- plugins/GSdx/GSRendererOGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSRendererOGL.cpp b/plugins/GSdx/GSRendererOGL.cpp index 15cb65cecf..0b1875e1df 100644 --- a/plugins/GSdx/GSRendererOGL.cpp +++ b/plugins/GSdx/GSRendererOGL.cpp @@ -567,7 +567,7 @@ void GSRendererOGL::EmulateBlending(bool DATE_GL42) if (accumulation_blend) { // 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) { // The blend unit does a reverse subtraction so it means // the shader must output a positive value.