glthread: stop using GLenum16 to get correct GL errors for out-of-bounds enums
authorMarek Olšák <marek.olsak@amd.com>
Tue, 12 May 2020 20:22:29 +0000 (16:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 20:10:42 +0000 (20:10 +0000)
commit64c7363f7efb6c5bf39cf4443245a82fc9904fb8
tree6932c04c8b271a1644404756066841bf0102e4af
parent1152af2edacb93126b66e19399d971036fc02d79
glthread: stop using GLenum16 to get correct GL errors for out-of-bounds enums

Reported by Ian Romanick.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5016>
src/mapi/glapi/gen/gl_marshal.py
src/mesa/main/glthread_draw.c