diff options
author | unknown <kwschult@.na.qualcomm.com> | 2010-02-10 10:55:01 -0700 |
---|---|---|
committer | unknown <kwschult@.na.qualcomm.com> | 2010-02-10 10:55:01 -0700 |
commit | b91bb45899a4c7fe2b1841c5907101beb4061df1 (patch) | |
tree | 84f53952b10b294b906e8e45da612ebe0f3a72f2 /src/glsl/pp/sl_pp_if.c | |
parent | c3b62372dbf33c4dbf02439f3418194465738317 (diff) | |
parent | 3251f31d593129e772475f2219771c660c53bf4e (diff) |
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
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 3ddbcc84af..272c3a23cc 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 1; + return context->extensions[i].enabled; } } |