diff options
author | Carl Worth <[email protected]> | 2014-06-25 13:28:38 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2014-07-29 15:11:50 -0700 |
commit | fe1e0ac8524677c40c84f238650e0e198f0e8d36 (patch) | |
tree | 5bec0908f05960faced72ef28e5c95435ec17e48 /src/glsl/ast_expr.cpp | |
parent | 18c589d20ea684f6415b28d563fd2edaae0d7b2c (diff) |
glsl/glcpp: Add an explanatory comment for "loc != NULL" check
Just reading the code, it looked like a bug that _define_object_macro had this
check, but _define_function_macro did not. Upon further reading, that's
because the check is to allow for our builtins to be defined, (and there are
no builtin function-like macros).
Add my new understanding as a comment to help the next reader.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glsl/ast_expr.cpp')
0 files changed, 0 insertions, 0 deletions