diff options
author | Jan Vesely <[email protected]> | 2015-01-14 16:12:06 -0500 |
---|---|---|
committer | José Fonseca <[email protected]> | 2015-01-21 14:06:02 +0000 |
commit | 3c3e60e050ea0850fcfeb5c4c2aa4f954d54d665 (patch) | |
tree | 1567635ba061bc56edd011da23c14d890a858a73 /src/mesa/main/format_utils.c | |
parent | 3cb10cce371cb62e0c4a988ab939bf640b75ebab (diff) |
mesa: Add assert to check number of vector elements
The below code crashes when vector_elements <= 0
Fixes Warray-bounds warnings
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/format_utils.c')
0 files changed, 0 insertions, 0 deletions