summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i810/i810context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-08 19:25:04 -0700
committerBrian Paul <[email protected]>2011-02-08 19:25:04 -0700
commit6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 (patch)
treed790bf5a50dcb01cb2d07f24db5b7f32e9b17e4c /src/mesa/drivers/dri/i810/i810context.c
parent5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (diff)
mesa: remove _mesa_create_context_for_api()
Just add the gl_api parameter to _mesa_create_context().
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810context.c')
-rw-r--r--src/mesa/drivers/dri/i810/i810context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c
index dc58e91e8c1..90dbb6bbe80 100644
--- a/src/mesa/drivers/dri/i810/i810context.c
+++ b/src/mesa/drivers/dri/i810/i810context.c
@@ -204,7 +204,7 @@ i810CreateContext( gl_api api,
shareCtx = ((i810ContextPtr) sharedContextPrivate)->glCtx;
else
shareCtx = NULL;
- imesa->glCtx = _mesa_create_context(mesaVis, shareCtx,
+ imesa->glCtx = _mesa_create_context(API_OPENGL, mesaVis, shareCtx,
&functions, (void*) imesa);
if (!imesa->glCtx) {
FREE(imesa);