Fix binding of the generic uniform buffer bind point when setting the transform…

Fix binding of the generic uniform buffer bind point when setting the transform feedback binding point in BindBuffer. TRAC #22852 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2291 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent ce672484
...@@ -825,7 +825,7 @@ void __stdcall glBindBuffer(GLenum target, GLuint buffer) ...@@ -825,7 +825,7 @@ void __stdcall glBindBuffer(GLenum target, GLuint buffer)
context->bindGenericUniformBuffer(buffer); context->bindGenericUniformBuffer(buffer);
return; return;
case GL_TRANSFORM_FEEDBACK_BUFFER: case GL_TRANSFORM_FEEDBACK_BUFFER:
context->bindGenericUniformBuffer(buffer); context->bindGenericTransformFeedbackBuffer(buffer);
return; return;
default: default:
return gl::error(GL_INVALID_ENUM); return gl::error(GL_INVALID_ENUM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment