diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 16:00:42 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 16:00:42 +0000 |
| commit | 65e29604c2c5e935b9596b61584b4101ba5d3af6 (patch) | |
| tree | 92102d666fbd603f5cab823c2737a70ae050ffa2 /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed multiple unused variable warnings in clang release build (diff) | |
| download | DiligentCore-65e29604c2c5e935b9596b61584b4101ba5d3af6.tar.gz DiligentCore-65e29604c2c5e935b9596b61584b4101ba5d3af6.zip | |
Fex minor changes
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp b/Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp index 9c0a60e2..f1f169b2 100644 --- a/Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/TextureBaseGL.cpp @@ -493,13 +493,13 @@ void TextureBaseGL :: CopyData(DeviceContextGLImpl *pDeviceCtxGL, void TextureBaseGL::TextureMemoryBarrier( Uint32 RequiredBarriers, GLContextState &GLContextState ) { #if GL_ARB_shader_image_load_store - #ifdef DEBUG + #ifdef _DEBUG { constexpr Uint32 TextureBarriers = - GL_TEXTURE_FETCH_BARRIER_BIT | + GL_TEXTURE_FETCH_BARRIER_BIT | GL_SHADER_IMAGE_ACCESS_BARRIER_BIT | - GL_PIXEL_BUFFER_BARRIER_BIT | - GL_TEXTURE_UPDATE_BARRIER_BIT | + GL_PIXEL_BUFFER_BARRIER_BIT | + GL_TEXTURE_UPDATE_BARRIER_BIT | GL_FRAMEBUFFER_BARRIER_BIT; VERIFY( (RequiredBarriers & TextureBarriers) != 0, "At least one texture memory barrier flag should be set" ); VERIFY( (RequiredBarriers & ~TextureBarriers) == 0, "Inappropriate texture memory barrier flag" ); |
