summaryrefslogtreecommitdiff
path: root/progs/redbook/alpha.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-02-15 13:48:11 -0800
committerEric Anholt <eric@anholt.net>2008-02-15 13:48:11 -0800
commitc741d287ecce1bd95d4e024d60e274abfcfbe22f (patch)
tree05d265aa3494b4a85ee2ef712d7278654c107832 /progs/redbook/alpha.c
parenteed5e6f40f1728ae5ae346d44ce45ba767bbf24c (diff)
[intel] Allow attIndex to be negative to avoid defeating the >= 0 check.
Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).
Diffstat (limited to 'progs/redbook/alpha.c')
0 files changed, 0 insertions, 0 deletions