xserver/dri3
Emil Velikov 66b632bb06 dri3: annotate the dri3_screen_info data as const
dri3_screen_info is the user provide dispatch. Something that we do
not and should not change.

When using the _ptr typecast + const the compiler barfs at us
(rightfully so), so use the _rec one.

[Silence a new const mismatch warning too - ajax]

Fixes: 5631382988 ("dri3: Add DRI3 extension")
Cc: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2018-04-10 15:42:23 -04:00
..
Makefile.am dri3: Add DRI3 extension 2013-10-31 16:58:30 -07:00
dri3.c dri3: annotate the dri3_screen_info data as const 2018-04-10 15:42:23 -04:00
dri3.h dri3: annotate the dri3_screen_info data as const 2018-04-10 15:42:23 -04:00
dri3_priv.h dri3: annotate the dri3_screen_info data as const 2018-04-10 15:42:23 -04:00
dri3_request.c dri3: Use single-FD screen call for single-FD request 2018-04-04 13:46:57 -04:00
dri3_screen.c dri3: annotate the dri3_screen_info data as const 2018-04-10 15:42:23 -04:00
meson.build meson: Distribute more SDK headers 2018-04-02 13:42:08 -04:00