diff options
author | Emil Velikov <[email protected]> | 2017-11-06 17:58:08 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-11-16 14:08:14 +0000 |
commit | 693682bd015e871f7beca15aeb441c2e1ba76cec (patch) | |
tree | 76776194bcb0d8dd8077fa6724279d87de88f9bb | |
parent | 9aa9b98e63a88c823ef7248f936fc39fd7e1d00a (diff) |
mesa: pass the ctx to _mesa_one_time_init_extension_overrides
Will be needed with next commit
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mesa/main/context.c | 2 | ||||
-rw-r--r-- | src/mesa/main/extensions.c | 2 | ||||
-rw-r--r-- | src/mesa/main/extensions.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 762765c9c97..25dd59ae2c1 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -390,7 +390,7 @@ one_time_init( struct gl_context *ctx ) _mesa_locale_init(); - _mesa_one_time_init_extension_overrides(); + _mesa_one_time_init_extension_overrides(ctx); _mesa_get_cpu_features(); diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index be3970c6393..fbfa0447658 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -237,7 +237,7 @@ free_unknown_extensions_strings(void) * - Collect unrecognized extension names in a new string. */ void -_mesa_one_time_init_extension_overrides(void) +_mesa_one_time_init_extension_overrides(struct gl_context *ctx) { const char *env_const = getenv("MESA_EXTENSION_OVERRIDE"); char *env; diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h index ebed8fa4fc0..59761bfcdb4 100644 --- a/src/mesa/main/extensions.h +++ b/src/mesa/main/extensions.h @@ -47,7 +47,7 @@ struct gl_extensions; extern void _mesa_enable_sw_extensions(struct gl_context *ctx); -extern void _mesa_one_time_init_extension_overrides(void); +extern void _mesa_one_time_init_extension_overrides(struct gl_context *ctx); extern void _mesa_init_extensions(struct gl_extensions *extentions); |