gsdx-ogl: BindBufferBase also bind to the generic binding point

This commit is contained in:
Gregory Hainaut 2014-10-07 19:58:35 +02:00
parent 16377f7249
commit 58bd645d49
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}