summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-29 08:47:56 -0600
committerBrian Paul <[email protected]>2012-10-05 17:13:03 -0600
commit733dba2a08765dddc478a015439ea2a684d5f2a0 (patch)
tree2308b3cdfa67dc34249c085810af183385801ba4 /src/mesa/drivers/x11/xm_api.c
parent917d27392825719146a02acc684fb75f298f59ed (diff)
mesa: remove the driverCtx parameter to _mesa_create/initialize_context()
No longer used.
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index e838e46ebe2..43a97f9eb5d 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -902,7 +902,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
xmesa_init_driver_functions(v, &functions);
if (!_mesa_initialize_context(mesaCtx, API_OPENGL, &v->mesa_visual,
share_list ? &(share_list->mesa) : (struct gl_context *) NULL,
- &functions, (void *) c)) {
+ &functions)) {
free(c);
return NULL;
}