gsdx-ogl: always read the first attachment of the fbo

This commit is contained in:
Gregory Hainaut
2015-05-11 16:28:34 +02:00
parent cb6e8a7d6a
commit 4e2e9aa56c
3 changed files with 3 additions and 5 deletions
+1
View File
@@ -217,6 +217,7 @@ namespace Emulate_DSA {
void APIENTRY NamedFramebufferReadBuffer(GLuint framebuffer, GLenum src) {
gl_BindFramebuffer(fb_target, framebuffer);
glReadBuffer(src);
gl_BindFramebuffer(fb_target, 0);
}
GLenum APIENTRY CheckNamedFramebufferStatus(GLuint framebuffer, GLenum target) {