summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2018-02-19 00:04:43 +0000
committerEgor <egor.yusov@gmail.com>2018-02-19 00:04:43 +0000
commitfe5ea927ede5cbcc5296b223d2a11b5f51bcf54b (patch)
tree46ab15a68273e5cea27d4b9955de01fadea8b32b /Graphics/GraphicsEngineOpenGL
parentAdded Qualcomm GPU vendor (diff)
downloadDiligentCore-fe5ea927ede5cbcc5296b223d2a11b5f51bcf54b.tar.gz
DiligentCore-fe5ea927ede5cbcc5296b223d2a11b5f51bcf54b.zip
Minor update to checking errors when setting GL blend errors
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
{