diff options
| author | Subv <subv2112@gmail.com> | 2015-11-10 11:58:53 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2015-11-18 21:03:56 -0500 |
| commit | 823ce62f2fead8e436c2c916ed7ce5c8b949d1c6 (patch) | |
| tree | bf0c4bded40858a0db81e993503e2f90f2b9b400 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 1463127fade260bb38dea80401380f24660ec778 (diff) | |
FragShader: Use an UBO instead of several individual uniforms
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 668b04259..84b3d49bc 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -64,6 +64,7 @@ public: GLuint framebuffer; // GL_DRAW_FRAMEBUFFER_BINDING GLuint vertex_array; // GL_VERTEX_ARRAY_BINDING GLuint vertex_buffer; // GL_ARRAY_BUFFER_BINDING + GLuint uniform_buffer; // GL_UNIFORM_BUFFER_BINDING GLuint shader_program; // GL_CURRENT_PROGRAM bool shader_dirty; } draw; |
