mesa: fix crashes in the no_error path of glUniform
authorMarek Olšák <marek.olsak@amd.com>
Mon, 18 Oct 2021 16:39:08 +0000 (12:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 Oct 2021 16:24:31 +0000 (16:24 +0000)
commit03186773a6bfcba3dce19ea3cc5d66afbeae0501
tree20b884cd87cacb9eb7d6d997c67eff422881a559
parent5948ff4826864b1e1573030b16cc2b3b1a13819a
mesa: fix crashes in the no_error path of glUniform

Fixes: bd2662bfa1c87 - mesa: add KHR_no_error support to glUniform*() functions

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13417>
src/mesa/main/uniform_query.cpp