summaryrefslogtreecommitdiff
path: root/dri3/dri3_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'dri3/dri3_screen.c')
-rw-r--r--dri3/dri3_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dri3/dri3_screen.c b/dri3/dri3_screen.c
index 8d3744977..58f5ff71d 100644
--- a/dri3/dri3_screen.c
+++ b/dri3/dri3_screen.c
@@ -63,9 +63,9 @@ dri3_open(ClientPtr client, ScreenPtr screen, RRProviderPtr provider, int *fd)
int
dri3_pixmap_from_fds(PixmapPtr *ppixmap, ScreenPtr screen,
- CARD8 num_fds, int *fds,
+ CARD8 num_fds, const int *fds,
CARD16 width, CARD16 height,
- CARD32 *strides, CARD32 *offsets,
+ const CARD32 *strides, const CARD32 *offsets,
CARD8 depth, CARD8 bpp, CARD64 modifier)
{
dri3_screen_priv_ptr ds = dri3_screen_priv(screen);