summaryrefslogtreecommitdiff
path: root/src/mesa/main/histogram.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-08-20 12:36:34 -0700
committerEric Anholt <eric@anholt.net>2010-08-20 12:36:34 -0700
commit27e6552a8fb0fd49be84fbaf9504e8371033db23 (patch)
tree1bd4a99619a188e393f1d7a5dda39ac7e9e5d4e8 /src/mesa/main/histogram.c
parent5482eaba6ecd4a581377336b6409019adf67869e (diff)
intel: Don't try to do work for BufferSubData with a size of 0.
If we hit the linear blit path, we'd come up with a pitch of 0, then divide by zero. Fixes vbo-subdata-zero, made for bug #28931 (warsow).
Diffstat (limited to 'src/mesa/main/histogram.c')
0 files changed, 0 insertions, 0 deletions