summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-12-16 16:53:02 -0800
committerJordan Justen <[email protected]>2012-12-17 08:55:41 -0800
commit6cf3034ba72bff55841b1e3338fbc541cd04efdc (patch)
treed838766d8310e2c6ade3a96b9299f8e2673fe43b /src/mesa/drivers/x11
parent3d14b25030dc2ad8bc10400d686250979fbee70d (diff)
mesa osmesa/x11: fix build error introduced in 4bea4cb9
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=58380 Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 0a005f893c5..c302c0cb4c1 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -959,11 +959,11 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
_mesa_meta_init(mesaCtx);
- _mesa_compute_version(ctx);
+ _mesa_compute_version(mesaCtx);
/* Exec table initialization requires the version to be computed */
- _mesa_initialize_exec_table(ctx);
- _mesa_initialize_vbo_vtxfmt(ctx);
+ _mesa_initialize_exec_table(mesaCtx);
+ _mesa_initialize_vbo_vtxfmt(mesaCtx);
return c;
}