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 | 5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (patch) | |
tree | 481856730ab9597711c1dda1cdafa45aaf6da59a /src/mesa/drivers/dri/swrast | |
parent | 2634e92dc0cecc364984bef9169a91bb96bafdcd (diff) |
mesa: remove _mesa_initialize_context_for_api()
Just add the gl_api parameter to _mesa_initialize_context().
Diffstat (limited to 'src/mesa/drivers/dri/swrast')
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 144b187c15d..719b406ec05 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; } |