aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-04 09:59:43 -0600
committerBrian Paul <[email protected]>2008-07-04 10:02:43 -0600
commitba9e6339028c36269cb50bb8535e415fa8e6e4c9 (patch)
treec7b991048b99d30566278c3908785d5f5f839da8 /src/mesa/main/context.c
parent294b061256220960e7e29fbc8ecbd2ffce75de40 (diff)
gallium: fix trim() function bug when count < first
If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a very large integer because of the unsigned arithmetic.
Diffstat (limited to 'src/mesa/main/context.c')
0 files changed, 0 insertions, 0 deletions