diff options
author | Emil Velikov <[email protected]> | 2016-06-07 17:33:48 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-13 15:31:29 +0100 |
commit | db8790c0dadffb6c88a0939bd34eca2b8e75d2e0 (patch) | |
tree | a367fe7c69ba9956091fd51eecf48de633d45fc0 /src/mesa/main/context.h | |
parent | a4fa8bf819fd7189ab1d41e82b79dc007f7a7300 (diff) |
st/mesa: inline _mesa_create_context() into its only caller
Inline the function into it's only caller. This way it's more obvious
how the classic and gallium drivers (st/mesa) use _mesa_initialize_context.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 7f3f11754b1..133b17f59b2 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -113,12 +113,6 @@ _mesa_initialize_context( struct gl_context *ctx, struct gl_context *share_list, const struct dd_function_table *driverFunctions); -extern struct gl_context * -_mesa_create_context(gl_api api, - const struct gl_config *visual, - struct gl_context *share_list, - const struct dd_function_table *driverFunctions); - extern void _mesa_free_context_data( struct gl_context *ctx ); |