gallium/hud: replace assertions with clamping the unit index
authorMarek Olšák <marek.olsak@amd.com>
Sun, 2 Aug 2015 16:00:57 +0000 (18:00 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Aug 2015 18:44:36 +0000 (20:44 +0200)
commitcbad30344d6e0b1ccc9fc8d5a8e6560e97dd9188
tree4166c64d7cf92137e32d3b02235d553940dce0e2
parent97a65d90fe88e6b4b4a42d866b23e73ce72f6dc2
gallium/hud: replace assertions with clamping the unit index

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/auxiliary/hud/hud_context.c