mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: unattach palette to avoid noise in debug
This commit is contained in:
parent
23f8203a22
commit
0518aaedc9
|
@ -596,6 +596,10 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
|
|||
dev->PSSetShaderResources(tex->m_texture, tex->m_palette);
|
||||
} else if (tex->m_texture) {
|
||||
dev->PSSetShaderResource(0, tex->m_texture);
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
// Unattach texture to avoid noise in debugger
|
||||
dev->PSSetShaderResource(1, NULL);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue