diff options
author | Brian Paul <[email protected]> | 2011-02-08 19:25:04 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-02-08 19:25:04 -0700 |
commit | 6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 (patch) | |
tree | d790bf5a50dcb01cb2d07f24db5b7f32e9b17e4c /src/mesa/drivers/dri/radeon | |
parent | 5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (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/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c index 819d9dd5750..c36cb9d80d5 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c @@ -204,7 +204,7 @@ GLboolean radeonInitContext(radeonContextPtr radeon, shareCtx = ((radeonContextPtr)sharedContextPrivate)->glCtx; else shareCtx = NULL; - radeon->glCtx = _mesa_create_context(glVisual, shareCtx, + radeon->glCtx = _mesa_create_context(API_OPENGL, glVisual, shareCtx, functions, (void *)radeon); if (!radeon->glCtx) return GL_FALSE; |