From 58bd645d493b7a4e18143a04ce0b9b607f23a38d Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Tue, 7 Oct 2014 19:58:35 +0200 Subject: [PATCH] gsdx-ogl: BindBufferBase also bind to the generic binding point --- plugins/GSdx/GSUniformBufferOGL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GSUniformBufferOGL.h b/plugins/GSdx/GSUniformBufferOGL.h index 5f01c04dbb..1dc93a3b34 100644 --- a/plugins/GSdx/GSUniformBufferOGL.h +++ b/plugins/GSdx/GSUniformBufferOGL.h @@ -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); }