diff --git a/plugins/GSdx/GLState.cpp b/plugins/GSdx/GLState.cpp index 87906d97bb..dc482ff75d 100644 --- a/plugins/GSdx/GLState.cpp +++ b/plugins/GSdx/GLState.cpp @@ -48,8 +48,8 @@ namespace GLState { GLuint rt; GLuint ds; - GLuint tex_unit[4]; - GLuint64 tex_handle[4]; + GLuint tex_unit[8]; + GLuint64 tex_handle[8]; GLuint ps; GLuint gs; diff --git a/plugins/GSdx/GLState.h b/plugins/GSdx/GLState.h index 02803d5841..34a508de79 100644 --- a/plugins/GSdx/GLState.h +++ b/plugins/GSdx/GLState.h @@ -50,8 +50,8 @@ namespace GLState { extern GLuint rt; // render target extern GLuint ds; // Depth-Stencil - extern GLuint tex_unit[4]; // shader input texture - extern GLuint64 tex_handle[4]; // shader input texture + extern GLuint tex_unit[8]; // shader input texture + extern GLuint64 tex_handle[8]; // shader input texture extern GLuint ps; extern GLuint gs;