aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-24 04:06:26 -0400
committerbunnei <bunneidev@gmail.com>2018-03-26 21:16:53 -0400
commit0ee38e136376964c0f80362952130258cc661c60 (patch)
treecbad6e4bee75e0b0ed04a82beefdc597ebde3a22 /src/video_core/renderer_opengl/gl_state.h
parent0162a2d5cbfb0e0df7f99187a87c031416fd79cc (diff)
gl_rasterizer: Use 32 texture units instead of 3.
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 940575dfa..c1f4efc8c 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -85,7 +85,7 @@ public:
struct {
GLuint texture_2d; // GL_TEXTURE_BINDING_2D
GLuint sampler; // GL_SAMPLER_BINDING
- } texture_units[3];
+ } texture_units[32];
struct {
GLuint texture_buffer; // GL_TEXTURE_BINDING_BUFFER