diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 07:24:36 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 07:24:36 +0000 |
| commit | 8c483ffc69f999423dd4e4d385bbe4b7e697ab45 (patch) | |
| tree | e7e8a842d14f573cb2f2c08cb7ad325691a3049e /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed mipmap generation in D3D12 backend; added EngineD3D12CreateInfo::Enable... (diff) | |
| download | DiligentCore-8c483ffc69f999423dd4e4d385bbe4b7e697ab45.tar.gz DiligentCore-8c483ffc69f999423dd4e4d385bbe4b7e697ab45.zip | |
Fixed few clang warnings
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp index c207bef4..41db445e 100644 --- a/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/FenceGLImpl.cpp @@ -78,7 +78,7 @@ void FenceGLImpl :: Wait(Uint64 Value, bool FlushCommands) break; auto res = glClientWaitSync(val_fence.second, FlushCommands ? GL_SYNC_FLUSH_COMMANDS_BIT : 0, std::numeric_limits<GLuint64>::max()); - VERIFY_EXPR(res == GL_ALREADY_SIGNALED || res == GL_CONDITION_SATISFIED); + VERIFY_EXPR(res == GL_ALREADY_SIGNALED || res == GL_CONDITION_SATISFIED); (void)res; if (val_fence.first > m_LastCompletedFenceValue) m_LastCompletedFenceValue = val_fence.first; |
