glthread: fix draws not compiled into a display list should generate an error
authorMarek Olšák <marek.olsak@amd.com>
Tue, 23 Aug 2022 19:02:48 +0000 (15:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 14:54:49 +0000 (14:54 +0000)
commitc716827f697956960c354277bb5eae2b17925913
treee36b9b743e13ba19b829d6d75dbec11a825fb049
parent355d57582009b23b365769236cd29cf74afb577d
glthread: fix draws not compiled into a display list should generate an error

Before it just crashed if indices were invalid.

Cc: stable
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18223>
src/mesa/main/glthread_draw.c