summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 579554f4ba9..f98475997d3 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -299,7 +299,7 @@ static const struct {
static bool
modifier_is_supported(const struct gen_device_info *devinfo,
- struct intel_image_format *fmt, int dri_format,
+ const struct intel_image_format *fmt, int dri_format,
uint64_t modifier)
{
const struct isl_drm_modifier_info *modinfo =