summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-05-23 16:33:50 -0700
committerChad Versace <[email protected]>2017-05-30 12:01:37 -0700
commita90a15d6387a095cda06efe4e030fbf4c3838c21 (patch)
tree57e75190ab02cf97291d58b0d6ee640b58389ffa
parent77a1eefa3cef93d5988ee5c00f1b8c735c09b83f (diff)
i965: Fix type of intel_update_image_buffers::format
It's a mesa_format, not an unsigned int. Reviewed-by: Tapani Pälli <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index c815a0454d7..adae921e571 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -1739,7 +1739,7 @@ intel_update_image_buffers(struct brw_context *brw, __DRIdrawable *drawable)
struct intel_renderbuffer *front_rb;
struct intel_renderbuffer *back_rb;
struct __DRIimageList images;
- unsigned int format;
+ mesa_format format;
uint32_t buffer_mask = 0;
int ret;