diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-02-02 01:59:54 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-02-02 01:59:54 +0000 |
| commit | bd77ec46537f8573cee707155ed1219a29f48536 (patch) | |
| tree | 64fa3fb09f526ca06543d85b1763a866c20935eb /Graphics/GraphicsEngineOpenGL | |
| parent | Added GraphicsUtilities.h c include test (diff) | |
| download | DiligentCore-bd77ec46537f8573cee707155ed1219a29f48536.tar.gz DiligentCore-bd77ec46537f8573cee707155ed1219a29f48536.zip | |
Minor update in GL backend
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp index d4af6807..ff0c3803 100644 --- a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp @@ -660,7 +660,8 @@ void GLContextState::SetBlendFactors(const float* BlendFactors) void GLContextState::SetBlendState(const BlendStateDesc& BSDsc, Uint32 SampleMask) { - VERIFY(SampleMask == 0xFFFFFFFF, "Sample mask is not currently implemented in GL"); + if (SampleMask != 0xFFFFFFFF) + LOG_ERROR_MESSAGE("Sample mask is not currently implemented in GL backend"); bool bEnableBlend = false; if (BSDsc.IndependentBlendEnable) |
