summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
index 7f582257..a12373aa 100644
--- a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
@@ -620,12 +620,11 @@ namespace Diligent
auto srcFactorAlpha = BlendFactor2GLBlend( RT.SrcBlendAlpha );
auto dstFactorAlpha = BlendFactor2GLBlend( RT.DestBlendAlpha );
glBlendFuncSeparatei( i, srcFactorRGB, dstFactorRGB, srcFactorAlpha, dstFactorAlpha );
- CHECK_GL_ERROR( "Failed to set blending factors" );
-
+ CHECK_GL_ERROR( "Failed to set separate blending factors" );
auto modeRGB = BlendOperation2GLBlendOp( RT.BlendOp );
auto modeAlpha = BlendOperation2GLBlendOp( RT.BlendOpAlpha );
glBlendEquationSeparatei( i, modeRGB, modeAlpha );
- CHECK_GL_ERROR( "Failed to set blending equations" );
+ CHECK_GL_ERROR( "Failed to set separate blending equations" );
}
else
{