summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_8x13.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-15 18:36:50 -0700
committerBrian Paul <brianp@vmware.com>2010-11-15 18:40:32 -0700
commit20c2debce82e36166ae0326a3fb94be42d71be4a (patch)
tree65df6a1e97a555cb1a1652070d9cf706f07eff92 /src/glut/glx/glut_8x13.c
parent32aaf89823de11e98cb59d5ec78c66cd3e74bcd4 (diff)
st/mesa: fix glDrawPixels(depth/stencil) bugs
When drawing GL_DEPTH_COMPONENT the usual fragment pipeline steps apply so don't override the depth state. When drawing GL_STENCIL_INDEX (or GL_DEPTH_STENCIL) the fragment pipeline does not apply (only the stencil and Z writemasks apply) so disable writes to the color buffers. Fixes some regressions from commit ef8bb7ada98f1ddc8e2554a7336af5d669cb1290
Diffstat (limited to 'src/glut/glx/glut_8x13.c')
0 files changed, 0 insertions, 0 deletions