diff options
author | Brian Paul <[email protected]> | 2010-04-08 13:05:35 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-08 13:11:29 -0600 |
commit | bab6c0a03527f3d3b5124c6540cc167e3989c068 (patch) | |
tree | 4e93dba6239e524f7a5ede012e0dca79c0b38820 /configs/linux-ia64-icc | |
parent | 8ac7d7fa05f34dcded533ba17ed3cec1f69e8906 (diff) |
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regression
Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression.
When the vertex shader emitted both a texcoord and color we were grabbing
the wrong vertex attributes. Fix the draw_quad() code to put texcoords
in slot[1] and color in slot[2]. That's a bit cleaner than changing
the vertex shader code.
Tested with progs/tests/zreaddraw.c
Diffstat (limited to 'configs/linux-ia64-icc')
0 files changed, 0 insertions, 0 deletions