summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_context.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-11-17 18:35:00 -0800
committerIan Romanick <[email protected]>2015-11-18 18:35:56 -0800
commit2f554761536bbfd0d8ec22e807c18bd6df0f22b8 (patch)
tree3a33ff50a2681a36a8ea1d7542f0e3448a58e70a /src/gallium/auxiliary/hud/hud_context.c
parent0aded03046a5dd73bedece767dea8559463a7a57 (diff)
glsl: Fix off-by-one error in array size check assertion
Apparently, this has been a bug since 2010 (c30f6e5d). Also use ARRAY_SIZE instead of open coding it. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_context.c')
0 files changed, 0 insertions, 0 deletions