aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-03-14 17:39:29 -0400
committerbunnei <bunneidev@gmail.com>2020-03-14 17:39:29 -0400
commit4373fa8042800d94d3b695ce706dd109207714a0 (patch)
tree037b8b40d34470721e7bb5e0d7affc57f48aafc0 /src/video_core/renderer_opengl/gl_device.h
parentc51dbf80388b5d31ac6e48cceb2968c7d8226477 (diff)
gl_device: Add option to check GL_EXT_debug_tool.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h
index d73b099d0..7aaa3a077 100644
--- a/src/video_core/renderer_opengl/gl_device.h
+++ b/src/video_core/renderer_opengl/gl_device.h
@@ -84,6 +84,10 @@ public:
return has_fast_buffer_sub_data;
}
+ bool HasDebugTool() const {
+ return has_debug_tool;
+ }
+
private:
static bool TestVariableAoffi();
static bool TestPreciseBug();
@@ -102,6 +106,7 @@ private:
bool has_precise_bug{};
bool has_broken_compute{};
bool has_fast_buffer_sub_data{};
+ bool has_debug_tool{};
};
} // namespace OpenGL