diff options
-rw-r--r-- | src/gallium/state_trackers/dri/dri_screen.c | 3 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/dri_screen.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/state_trackers/dri/dri_screen.c index 6228425d9a2..87729c190a8 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/state_trackers/dri/dri_screen.c @@ -302,7 +302,8 @@ dri_fill_in_modes(struct dri_screen *screen) * Roughly the converse of dri_fill_in_modes. */ void -dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, +dri_fill_st_visual(struct st_visual *stvis, + const struct dri_screen *screen, const struct gl_config *mode) { memset(stvis, 0, sizeof(*stvis)); diff --git a/src/gallium/state_trackers/dri/dri_screen.h b/src/gallium/state_trackers/dri/dri_screen.h index 677e945e039..e410aa9c2f2 100644 --- a/src/gallium/state_trackers/dri/dri_screen.h +++ b/src/gallium/state_trackers/dri/dri_screen.h @@ -127,7 +127,8 @@ dri_with_format(__DRIscreen * sPriv) } void -dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, +dri_fill_st_visual(struct st_visual *stvis, + const struct dri_screen *screen, const struct gl_config *mode); void |