gsdx-ogl: it was a bad idea to use DSA on fb

Actually I'm not sure we can mix both dsa/standard approach
This commit is contained in:
Gregory Hainaut 2015-05-11 18:04:16 +02:00
parent f37f3cb3cf
commit 4e222f18cd
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
gl_GenFramebuffers(1, &m_fbo);
gl_GenFramebuffers(1, &m_fbo_read);
// Always read from the first buffer
gl_NamedFramebufferReadBuffer(m_fbo_read, GL_COLOR_ATTACHMENT0);
gl_BindFramebuffer(GL_READ_FRAMEBUFFER, m_fbo_read);
glReadBuffer(GL_COLOR_ATTACHMENT0);
gl_BindFramebuffer(GL_READ_FRAMEBUFFER, 0);
// ****************************************************************
// Vertex buffer state