gsdx ogl: attach input texture before copy

Help to ensure with copy the good texture in debugger
This commit is contained in:
Gregory Hainaut 2016-10-08 17:53:32 +02:00
parent 22ebdcf1cf
commit 344636d88e
1 changed files with 4 additions and 0 deletions

View File

@ -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,