diff options
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h index 3085e04ad..78ff5ee58 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -12,14 +12,19 @@ class Device { public: Device(); - void Initialize(); - std::size_t GetUniformBufferAlignment() const { return uniform_buffer_alignment; } + bool HasVariableAoffi() const { + return has_variable_aoffi; + } + private: + static bool TestVariableAoffi(); + std::size_t uniform_buffer_alignment{}; + bool has_variable_aoffi{}; }; } // namespace OpenGL |