summaryrefslogtreecommitdiffstats
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
commit6f2f449414e51e3b98f85e3fc916a7f3d42a99d4 (patch)
treed790bf5a50dcb01cb2d07f24db5b7f32e9b17e4c /src/mesa/main/context.h
parent5e4ca1ccc9029fd75bb7676dc128e33d12da9665 (diff)
mesa: remove _mesa_create_context_for_api()
Just add the gl_api parameter to _mesa_create_context().
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index 26b87eab785..4e391dde494 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -99,12 +99,6 @@ _mesa_destroy_visual( struct gl_config *vis );
/** \name Context-related functions */
/*@{*/
-extern struct gl_context *
-_mesa_create_context( const struct gl_config *visual,
- struct gl_context *share_list,
- const struct dd_function_table *driverFunctions,
- void *driverContext );
-
extern GLboolean
_mesa_initialize_context( struct gl_context *ctx,
gl_api api,
@@ -114,11 +108,11 @@ _mesa_initialize_context( struct gl_context *ctx,
void *driverContext );
extern struct gl_context *
-_mesa_create_context_for_api(gl_api api,
- const struct gl_config *visual,
- struct gl_context *share_list,
- const struct dd_function_table *driverFunctions,
- void *driverContext);
+_mesa_create_context(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 );