ext_direct_state_access: Fix deprecated-non-prototype warning
commitde2113735cf5e3e5af7a8ec4255391b6dba5973b
authorVinson Lee <vlee@freedesktop.org>
Sat, 28 Sep 2024 21:31:49 +0000 (28 14:31 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 2 Oct 2024 06:01:10 +0000 (1 23:01 -0700)
tree1f08d54426df9bd68713f0d95ac5d7904ec52c82
parent0aeb0e4f838b10d5899bae29050bf3ac4e21d2fc
ext_direct_state_access: Fix deprecated-non-prototype warning

matrix-commands.c:443:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  443 |                         glEndList(list);
      |                                  ^

Fixes: 31ffd5f2f6b1 ("ext_direct_state_access: add test for matrices functions")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/958>
tests/spec/ext_direct_state_access/matrix-commands.c