aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-15 13:17:30 -0400
committerGitHub <noreply@github.com>2018-04-15 13:17:30 -0400
commitb60834ac41ea3fcff26cf19cd08f2dbe3f3bda58 (patch)
treef1487899eaee35fe95e136deb853222871ef585c /src/video_core/renderer_opengl/gl_state.h
parent34264879b359107ec0c2fdb6af4b17faf52e4a6a (diff)
parente128e90350a95bbeeebb3987c3513537e5e4289c (diff)
Merge pull request #334 from Subv/used_buffers
GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 6a80e6a7d..75c08e645 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -124,7 +124,7 @@ public:
GLuint shader_program; // GL_CURRENT_PROGRAM
GLuint program_pipeline; // GL_PROGRAM_PIPELINE_BINDING
struct ConstBufferConfig {
- bool enabled;
+ bool enabled = false;
GLuint bindpoint;
GLuint ssbo;
};