mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: save the texture state
This commit is contained in:
parent
0ab0c6cfba
commit
f0181d98fd
|
@ -1044,6 +1044,7 @@ void GSDeviceOGL::PSSetShaderResource(int i, GSTexture* sr)
|
|||
{
|
||||
GLuint id = static_cast<GSTextureOGL*>(sr)->GetID();
|
||||
if (GLState::tex_unit[i] != id) {
|
||||
GLState::tex_unit[i] = id;
|
||||
gl_BindTextureUnit(i, id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue