diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-09 01:23:48 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-09 01:28:19 +0300 |
commit | f7fab77f85734e49414ea7d063532dbac6c5b6da (patch) | |
tree | 0b43450ad7bb210f0a07b1446228df3d956cab6f /source/blender/gpu/opengl/gl_context.hh | |
parent | 25380802d702e65bc232efb5cd7768d6ace165d4 (diff) |
Cleanup: GPU: Replace multiple checks by GLContext::debug_layer_support
Diffstat (limited to 'source/blender/gpu/opengl/gl_context.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_context.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_context.hh b/source/blender/gpu/opengl/gl_context.hh index 8e653a56cd6..10ae396d138 100644 --- a/source/blender/gpu/opengl/gl_context.hh +++ b/source/blender/gpu/opengl/gl_context.hh @@ -62,6 +62,7 @@ class GLContext : public Context { static GLint max_ubo_binds; /** Extensions. */ static bool base_instance_support; + static bool debug_layer_support; static bool texture_cube_map_array_support; /** Workarounds. */ static bool texture_copy_workaround; |