diff options
author | José Fonseca <[email protected]> | 2010-08-22 02:26:09 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-22 02:26:44 +0100 |
commit | ae34a6393e6519dc32e53fa8407155e8679fc257 (patch) | |
tree | 356c08862b6868d9e8c5463fdd964bf931e51719 /src/gallium/drivers/r600/r600_screen.h | |
parent | ce9a6e6a7d855bac9bc088a97a19373bb0484829 (diff) |
draw: Don't assert if indices point outside vertex buffer.
This is valid input, and asserting here does causes the test suites that
verify this to crash.
Also, the assert was wrongly accepting the case
max_index == vert_info->count
which, IIUC, is the first vertex outside the buffer. Assuming the
vert_info->count is precise (which often is not the case).
Diffstat (limited to 'src/gallium/drivers/r600/r600_screen.h')
0 files changed, 0 insertions, 0 deletions