From 5e4ca1ccc9029fd75bb7676dc128e33d12da9665 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 8 Feb 2011 19:25:04 -0700 Subject: mesa: remove _mesa_initialize_context_for_api() Just add the gl_api parameter to _mesa_initialize_context(). --- src/mesa/drivers/dri/swrast/swrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/swrast') diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 144b187c15..719b406ec0 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -651,7 +651,7 @@ dri_create_context(gl_api api, mesaCtx = &ctx->Base; /* basic context setup */ - if (!_mesa_initialize_context_for_api(mesaCtx, api, visual, sharedCtx, &functions, (void *) cPriv)) { + if (!_mesa_initialize_context(mesaCtx, api, visual, sharedCtx, &functions, (void *) cPriv)) { goto context_fail; } -- cgit v1.2.3