diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-24 18:08:10 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-24 18:08:12 +0200 |
commit | b5eb3905cdad545fc2c4c3141d0d3ff22183e442 (patch) | |
tree | cc4ace278b400e2609bf9e12b1733b820404942e /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #798 from lioncash/const (diff) | |
download | yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar.gz yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar.bz2 yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar.lz yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar.xz yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.tar.zst yuzu-b5eb3905cdad545fc2c4c3141d0d3ff22183e442.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index ab06e2d95..e150be58f 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -135,10 +135,10 @@ private: /// Syncs the blend state to match the guest state void SyncBlendState(); - bool has_ARB_buffer_storage; - bool has_ARB_direct_state_access; - bool has_ARB_separate_shader_objects; - bool has_ARB_vertex_attrib_binding; + bool has_ARB_buffer_storage = false; + bool has_ARB_direct_state_access = false; + bool has_ARB_separate_shader_objects = false; + bool has_ARB_vertex_attrib_binding = false; OpenGLState state; @@ -167,5 +167,5 @@ private: void SetupShaders(u8* buffer_ptr, GLintptr buffer_offset); enum class AccelDraw { Disabled, Arrays, Indexed }; - AccelDraw accelerate_draw; + AccelDraw accelerate_draw = AccelDraw::Disabled; }; |