mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
f37f3cb3cf
commit
4e222f18cd
|
@ -200,7 +200,9 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
|
||||||
gl_GenFramebuffers(1, &m_fbo);
|
gl_GenFramebuffers(1, &m_fbo);
|
||||||
gl_GenFramebuffers(1, &m_fbo_read);
|
gl_GenFramebuffers(1, &m_fbo_read);
|
||||||
// Always read from the first buffer
|
// 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
|
// Vertex buffer state
|
||||||
|
|
Loading…
Reference in New Issue