dri3: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros

Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-07-15 12:08:44 +02:00
parent 4bf912f92b
commit f3b783ec3d
3 changed files with 59 additions and 208 deletions

View File

@@ -80,9 +80,6 @@ dri3_screen_priv(ScreenPtr screen)
int
proc_dri3_dispatch(ClientPtr client);
int
sproc_dri3_dispatch(ClientPtr client);
/* DDX interface */
int