summaryrefslogtreecommitdiff
path: root/src/glsl/linker.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-19 11:52:54 -0700
committerEric Anholt <eric@anholt.net>2010-07-19 11:58:03 -0700
commit5304493c40c5f450568fb518cb09940a72c1bc1d (patch)
tree344f4fd2d65ebe8c86260628e7003ef5f5265abb /src/glsl/linker.cpp
parent82d4b9593bd541b20771cddc1365add21dea6ba9 (diff)
glsl2: Fix lexing of octal values, including "0".
When faced with a constructor like 'ivec4(0, 2, 0, 0)', we would manage to get a value of 2 instead of 0 for the first "0". Usually 2 characters past "0" would point at some junk and lex as 0 anyway. Fixes glsl-octal and glsl-unused-varyings.
Diffstat (limited to 'src/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions