aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-30 22:21:12 +0200
committermarha <marha@users.sourceforge.net>2011-05-30 22:21:12 +0200
commit072157e2ba87f3303958e48815fa2548009d3410 (patch)
tree91b7c5446ab4020a6f405f822aeb0800b6a02958 /mesalib/src/mesa/main/shaderapi.c
parentb53c5364a7161e8310d62b90d5b5ca4635535892 (diff)
downloadvcxsrv-072157e2ba87f3303958e48815fa2548009d3410.tar.gz
vcxsrv-072157e2ba87f3303958e48815fa2548009d3410.tar.bz2
vcxsrv-072157e2ba87f3303958e48815fa2548009d3410.zip
mesa git update 30 May 2011
Diffstat (limited to 'mesalib/src/mesa/main/shaderapi.c')
-rw-r--r--mesalib/src/mesa/main/shaderapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/shaderapi.c b/mesalib/src/mesa/main/shaderapi.c
index 03155b7ac..1e237a95d 100644
--- a/mesalib/src/mesa/main/shaderapi.c
+++ b/mesalib/src/mesa/main/shaderapi.c
@@ -1593,6 +1593,8 @@ _mesa_UseProgramObjectARB(GLhandleARB program)
struct gl_transform_feedback_object *obj =
ctx->TransformFeedback.CurrentObject;
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
if (obj->Active) {
_mesa_error(ctx, GL_INVALID_OPERATION,
"glUseProgram(transform feedback active)");