summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-29 14:19:44 -0700
committerBrian Paul <[email protected]>2018-01-29 21:15:52 -0700
commit94843e60562c52975325f59f21cb1c8e89f2fe20 (patch)
treee1f59a403c9763be5404ad58caa58194ec9a072c /src/mesa/vbo/vbo_save_draw.c
parente4ca1d64565b4d665bcaf5d08922bfbe1d920e7a (diff)
mesa: fix incorrect size/error test in _mesa_GetUnsignedBytevEXT()
get_value_size() returns -1 for an error. The similar check in _mesa_GetUnsignedBytei_vEXT() is correct. Found by chance. There are apparently no Piglit tests which exercise glGetUnsignedBytei_vEXT() or glGetUnsignedBytevEXT(). Reviewed-by: Andres Rodriguez <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
0 files changed, 0 insertions, 0 deletions