diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-19 00:04:43 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-19 00:04:43 +0000 |
| commit | fe5ea927ede5cbcc5296b223d2a11b5f51bcf54b (patch) | |
| tree | 46ab15a68273e5cea27d4b9955de01fadea8b32b /Graphics/GraphicsEngineOpenGL | |
| parent | Added Qualcomm GPU vendor (diff) | |
| download | DiligentCore-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.cpp | 5 |
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 { |
