aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-11-10 11:58:53 -0500
committerSubv <subv2112@gmail.com>2015-11-18 21:03:56 -0500
commit823ce62f2fead8e436c2c916ed7ce5c8b949d1c6 (patch)
treebf0c4bded40858a0db81e993503e2f90f2b9b400 /src/video_core/renderer_opengl/gl_state.h
parent1463127fade260bb38dea80401380f24660ec778 (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.h1
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;