aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.h
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
commit5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (patch)
tree481856730ab9597711c1dda1cdafa45aaf6da59a /src/mesa/main/context.h
parent2634e92dc0cecc364984bef9169a91bb96bafdcd (diff)
mesa: remove _mesa_initialize_context_for_api()
Just add the gl_api parameter to _mesa_initialize_context().
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index 8fb9b4c6b7a..26b87eab785 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -107,6 +107,7 @@ _mesa_create_context( const struct gl_config *visual,
extern GLboolean
_mesa_initialize_context( struct gl_context *ctx,
+ gl_api api,
const struct gl_config *visual,
struct gl_context *share_list,
const struct dd_function_table *driverFunctions,
@@ -119,14 +120,6 @@ _mesa_create_context_for_api(gl_api api,
const struct dd_function_table *driverFunctions,
void *driverContext);
-extern GLboolean
-_mesa_initialize_context_for_api(struct gl_context *ctx,
- gl_api api,
- const struct gl_config *visual,
- struct gl_context *share_list,
- const struct dd_function_table *driverFunctions,
- void *driverContext);
-
extern void
_mesa_free_context_data( struct gl_context *ctx );