st/mesa: check return value of begin/end_query
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 20 Apr 2016 14:37:06 +0000 (09:37 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Apr 2016 03:33:03 +0000 (22:33 -0500)
commit71f33a6f690f5c3163065787b13164da4dc6176b
tree1102513585a2e629c5e877fe88cf1093b901c782
parent32214e0c6837a24ad82152e9971baa3926992498
st/mesa: check return value of begin/end_query

They can only indicate out of memory conditions, since the other error
conditions are caught earlier.

v2: fix error message in EndQuery

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/state_tracker/st_cb_queryobj.c