diff options
author | Eric Anholt <eric@anholt.net> | 2008-02-15 13:48:11 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-02-15 13:48:11 -0800 |
commit | c741d287ecce1bd95d4e024d60e274abfcfbe22f (patch) | |
tree | 05d265aa3494b4a85ee2ef712d7278654c107832 /src/mesa/drivers/x11/xm_span.c | |
parent | eed5e6f40f1728ae5ae346d44ce45ba767bbf24c (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 'src/mesa/drivers/x11/xm_span.c')
0 files changed, 0 insertions, 0 deletions