i965: Fix type of intel_update_image_buffers::format
authorChad Versace <chadversary@chromium.org>
Tue, 23 May 2017 23:33:50 +0000 (16:33 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 30 May 2017 19:01:37 +0000 (12:01 -0700)
It's a mesa_format, not an unsigned int.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/brw_context.c

index c815a0454d74c697e28203a6e17f03944540a1d6..adae921e57133737353359a5e2613cc72e632703 100644 (file)
@@ -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;