mesa: fix broken glGet*(GL_POLYGON_MODE) query
authorBrian Paul <brianp@vmware.com>
Wed, 31 Jan 2018 02:32:37 +0000 (19:32 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 31 Jan 2018 03:32:37 +0000 (20:32 -0700)
commit1ea9efd2f8892cc238b12ec3f329e8322a9e5d2f
tree8186c7cfacab13ce822c4843117818d45119564a
parent49c61d8b841538e09b8c2b2d2f409147fd7b549a
mesa: fix broken glGet*(GL_POLYGON_MODE) query

This reverts part of the patch which introduced the GLenum16 change.
Fixes a conform regression found by Roland.

Fixes: f96a69f916aed405 ("mesa: replace GLenum with GLenum16 in
common structures (v4)")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h