diff options
Diffstat (limited to 'src/glsl/pp/sl_pp_if.c')
-rw-r--r-- | src/glsl/pp/sl_pp_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/pp/sl_pp_if.c b/src/glsl/pp/sl_pp_if.c index e233999ca8d..25cb7a3ca11 100644 --- a/src/glsl/pp/sl_pp_if.c +++ b/src/glsl/pp/sl_pp_if.c @@ -40,7 +40,7 @@ _macro_is_defined(struct sl_pp_context *context, for (i = 0; i < context->num_extensions; i++) { if (macro_name == context->extensions[i].name) { - return context->extensions[i].enabled; + return 1; } } |