diff options
author | Brian Paul <[email protected]> | 2008-07-04 09:59:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-04 10:02:43 -0600 |
commit | ba9e6339028c36269cb50bb8535e415fa8e6e4c9 (patch) | |
tree | c7b991048b99d30566278c3908785d5f5f839da8 /src/mesa/main/context.c | |
parent | 294b061256220960e7e29fbc8ecbd2ffce75de40 (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