summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-23 18:11:38 +0200
committerMarek Olšák <[email protected]>2012-05-08 15:57:51 +0200
commita7ac9c9c7dc7401ca6143d1e7476df5e3c2758b7 (patch)
treebae7f2e88f0223705f2c2ec4b77394762597c69a /src/mesa/vbo/vbo_exec_api.c
parentd6aa7cd7f82a3695243e1ecb1c73cdb796b12523 (diff)
vbo: move vbo_draw_method into vbo_context.h
I'll need vbo_context in that function soon. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 3f95410892e..b87da18f3eb 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -700,7 +700,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
return;
}
- vbo_draw_method(exec, DRAW_BEGIN_END);
+ vbo_draw_method(vbo_context(ctx), DRAW_BEGIN_END);
if (ctx->Driver.PrepareExecBegin)
ctx->Driver.PrepareExecBegin(ctx);