diff options
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h new file mode 100644 index 000000000..3085e04ad --- /dev/null +++ b/src/video_core/renderer_opengl/gl_device.h @@ -0,0 +1,25 @@ +// Copyright 2019 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <cstddef> + +namespace OpenGL { + +class Device { +public: + Device(); + + void Initialize(); + + std::size_t GetUniformBufferAlignment() const { + return uniform_buffer_alignment; + } + +private: + std::size_t uniform_buffer_alignment{}; +}; + +} // namespace OpenGL |