From 6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 8 Feb 2011 19:25:04 -0700 Subject: mesa: remove _mesa_create_context_for_api() Just add the gl_api parameter to _mesa_create_context(). --- src/mesa/drivers/windows/gldirect/dglcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/windows/gldirect') diff --git a/src/mesa/drivers/windows/gldirect/dglcontext.c b/src/mesa/drivers/windows/gldirect/dglcontext.c index 10ea0578506..9aedd2e3c4d 100644 --- a/src/mesa/drivers/windows/gldirect/dglcontext.c +++ b/src/mesa/drivers/windows/gldirect/dglcontext.c @@ -1414,7 +1414,7 @@ SkipPrimaryCreate: } #ifdef _USE_GLD3_WGL - lpCtx->glCtx = _mesa_create_context(lpCtx->glVis, NULL, (void *)lpCtx, GL_TRUE); + lpCtx->glCtx = _mesa_create_context(API_OPENGL, lpCtx->glVis, NULL, (void *)lpCtx, GL_TRUE); #else // Create the Mesa context lpCtx->glCtx = (*mesaFuncs.gl_create_context)( -- cgit v1.2.3