summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_symbol_table.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-09 10:14:51 -0600
committerBrian Paul <[email protected]>2012-08-16 08:58:55 -0600
commit50188adf7d4ca12488a3cb4b70ffdedea2e9c9b1 (patch)
tree29a1ded67ed9254a758df9c5f58aeeaf33ea2c71 /src/glsl/glsl_symbol_table.cpp
parentd55e0f1ba05252af658ca084769a279c956575b9 (diff)
svga: fix result==NULL logic in emit_fs_consts()
The previous test for result != NULL was kind of bogus since we dereferenced the pointer earlier in the code. Now, check for result != NULL first, then get the result->key info. Also, remove the useless "offset +=" code at the end.
Diffstat (limited to 'src/glsl/glsl_symbol_table.cpp')
0 files changed, 0 insertions, 0 deletions