summaryrefslogtreecommitdiff
path: root/src/mesa/main/api_validate.c
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-10-05 15:47:28 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-10-05 15:47:28 +0000
commitb66103971c77e55b1df060c71c8e74af996d2dec (patch)
tree915232b9e21bdfaa371085ba7017b7643e5fd1df /src/mesa/main/api_validate.c
parentbffae58175b50bda3cc258c5aecb389adb2d9b5e (diff)
Fix the clear() function
- add checks for the ColorMask and IndexMask (like osmesa) - correctly handle the DD_*_BIT flags so that we don't also ask the swrast to clear the color buffer after we cleared it ourselves. (doh!) This gives nearly a 2X improvement in the frame rate in a program like gears.
Diffstat (limited to 'src/mesa/main/api_validate.c')
0 files changed, 0 insertions, 0 deletions