mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: BindBufferBase also bind to the generic binding point
This commit is contained in:
parent
16377f7249
commit
58bd645d49
|
@ -53,6 +53,9 @@ public:
|
|||
|
||||
void attach()
|
||||
{
|
||||
// From the opengl manpage:
|
||||
// glBindBufferBase also binds buffer to the generic buffer binding point specified by target
|
||||
GLState::ubo = buffer;
|
||||
gl_BindBufferBase(GL_UNIFORM_BUFFER, index, buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue