Skip to content

Commit fe5ea92

Browse files
Minor update to checking errors when setting GL blend errors
1 parent 0fdedcc commit fe5ea92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,12 +620,11 @@ namespace Diligent
620620
auto srcFactorAlpha = BlendFactor2GLBlend( RT.SrcBlendAlpha );
621621
auto dstFactorAlpha = BlendFactor2GLBlend( RT.DestBlendAlpha );
622622
glBlendFuncSeparatei( i, srcFactorRGB, dstFactorRGB, srcFactorAlpha, dstFactorAlpha );
623-
CHECK_GL_ERROR( "Failed to set blending factors" );
624-
623+
CHECK_GL_ERROR( "Failed to set separate blending factors" );
625624
auto modeRGB = BlendOperation2GLBlendOp( RT.BlendOp );
626625
auto modeAlpha = BlendOperation2GLBlendOp( RT.BlendOpAlpha );
627626
glBlendEquationSeparatei( i, modeRGB, modeAlpha );
628-
CHECK_GL_ERROR( "Failed to set blending equations" );
627+
CHECK_GL_ERROR( "Failed to set separate blending equations" );
629628
}
630629
else
631630
{

0 commit comments

Comments
 (0)