mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: attach input texture before copy
Help to ensure with copy the good texture in debugger
This commit is contained in:
parent
22ebdcf1cf
commit
344636d88e
|
@ -1244,6 +1244,10 @@ void GSDeviceOGL::CopyRect(GSTexture* sTex, GSTexture* dTex, const GSVector4i& r
|
|||
|
||||
GL_PUSH("CopyRect from %d to %d", sid, did);
|
||||
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
PSSetShaderResource(6, sTex);
|
||||
#endif
|
||||
|
||||
glCopyImageSubData( sid, GL_TEXTURE_2D,
|
||||
0, r.x, r.y, 0,
|
||||
did, GL_TEXTURE_2D,
|
||||
|
|
Loading…
Reference in New Issue