From f0181d98fd59cf9194a8664fec85257f38bdcde6 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 30 Apr 2015 09:57:30 +0200 Subject: [PATCH] gsdx-ogl: save the texture state --- plugins/GSdx/GSDeviceOGL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/GSdx/GSDeviceOGL.cpp b/plugins/GSdx/GSDeviceOGL.cpp index 0372ffa23b..6b41f3b6cb 100644 --- a/plugins/GSdx/GSDeviceOGL.cpp +++ b/plugins/GSdx/GSDeviceOGL.cpp @@ -1044,6 +1044,7 @@ void GSDeviceOGL::PSSetShaderResource(int i, GSTexture* sr) { GLuint id = static_cast(sr)->GetID(); if (GLState::tex_unit[i] != id) { + GLState::tex_unit[i] = id; gl_BindTextureUnit(i, id); } }