mesa: Fix core GL genned-name handling for glBeginQuery().
authorEric Anholt <eric@anholt.net>
Wed, 31 Oct 2012 22:36:27 +0000 (15:36 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 4 Nov 2012 20:28:36 +0000 (12:28 -0800)
commit4fce0230fc3528be32562410bcddfc887c4d25a0
tree3297f605461820f26f2bbb7702b38edfbb5139bb
parent947d8ff4a7c4b7ffb4013056b48dbabe6b3931b0
mesa: Fix core GL genned-name handling for glBeginQuery().

Fixes piglit gl-3.1/genned-names.

NOTE: This is a candidate for the 9.0 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/queryobj.c