summaryrefslogtreecommitdiff
path: root/src/mesa/main/texgetimage.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-22 11:45:40 -0700
committerBrian Paul <brianp@vmware.com>2010-01-22 11:49:51 -0700
commit64871747bb7b611ffe429fbf1724bd98ee25dd84 (patch)
treec7c4ae4a2ab426dc7052ee64de28d78b228bb6ca /src/mesa/main/texgetimage.c
parent5ab0d49a07fb81b7545463310c91ada596e26e72 (diff)
gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elements
Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
Diffstat (limited to 'src/mesa/main/texgetimage.c')
0 files changed, 0 insertions, 0 deletions