From a9d25efcde71e94f334aa3361a30a42e54d2d5f2 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 29 Apr 2016 17:29:46 +0200 Subject: [PATCH] gsdx ogl: extend state to support up to 8 textures --- plugins/GSdx/GLState.cpp | 4 ++-- plugins/GSdx/GLState.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;