diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-11 16:54:48 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-11 16:54:48 -0700 |
commit | 04d35714a6e10f96f8a216c626f46fdfbc2e5c1f (patch) | |
tree | 6e9b798447c3f7e76ecab75616d09ab0732b3e01 /progs | |
parent | 92098438784887fd6005918794476cfbbeac5035 (diff) |
svga: check min_index, max_index before assertions
It's possible for min_index and max_index to be ~0 if the min/max
values were not actually set or computed in the state tracker.
Skip some assertions in that case.
This only effects the debug build error checking.
(cherry picked from commit 408f32dc165b36eb5ec0e2bbc7dcecd28f3a62d3)
Diffstat (limited to 'progs')
0 files changed, 0 insertions, 0 deletions