summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_vertprog.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2009-07-23 21:10:37 +0200
committerNicolai Hähnle <[email protected]>2009-07-27 20:32:06 +0200
commitc5cb9a337881229f1db462632fa1d64e2677f316 (patch)
tree2d9c086d5695d1d7ee35d501960fa3560fb30d1d /src/mesa/drivers/dri/r300/r300_vertprog.c
parentd65404225d8ba2c16eaffac833cb7dcfd2722a38 (diff)
r300: Remove dependency on GLcontext from compiler
Unfortunately, this does cause some code duplication (which we can hopefully eliminate eventually). Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_vertprog.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index ec4ba9ca7da..dfb2a9e3d85 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.c
@@ -125,7 +125,7 @@ static struct r300_vertex_program *build_program(GLcontext *ctx,
_mesa_insert_mvp_code(ctx, (struct gl_vertex_program *)compiler.program);
}
- if (!r3xx_compile_vertex_program(&compiler, ctx))
+ if (!r3xx_compile_vertex_program(&compiler))
vp->error = GL_TRUE;
rc_destroy(&compiler.Base);