diff options
author | Ian Romanick <[email protected]> | 2010-08-11 16:58:25 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-08-11 16:58:25 -0700 |
commit | 202604e8160157e4e80b3458175e0170d168e557 (patch) | |
tree | 06bf0ef997206a5fd9034d818329d7eb3b27f49d /src/mesa/osmesa.pc.in | |
parent | da6b10a7eb26c8a13056cbae9015d5b84f134142 (diff) |
glsl2: Don't declare a variable called sig that shadows the other one
Accidentally having a variable called 'sig' within an if-statement
cause the higher scope 'sig' to always be NULL. As a result a new
function signature was created for a function definition even when one
already existed from a prototype declaration.
Fixes piglit test case glsl-function-prototype (bugzilla #29520).
Diffstat (limited to 'src/mesa/osmesa.pc.in')
0 files changed, 0 insertions, 0 deletions