Mesa (master): i965: Add whitespace in intel_update_image_buffers()

Chad Versace chadversary at kemper.freedesktop.org
Tue May 30 19:05:19 UTC 2017


Module: Mesa
Branch: master
Commit: da042d951c9d503e25d43a27c2d707fa134a512c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da042d951c9d503e25d43a27c2d707fa134a512c

Author: Chad Versace <chadversary at chromium.org>
Date:   Tue May 23 16:37:32 2017 -0700

i965: Add whitespace in intel_update_image_buffers()

Improve readability.  Add an empty line between two large 'if' blocks.

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

---

 src/mesa/drivers/dri/i965/brw_context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 825912b7b5..3e3fe2d0ed 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -1779,6 +1779,7 @@ intel_update_image_buffers(struct brw_context *brw, __DRIdrawable *drawable)
                                 images.front,
                                 __DRI_IMAGE_BUFFER_FRONT);
    }
+
    if (images.image_mask & __DRI_IMAGE_BUFFER_BACK) {
       drawable->w = images.back->width;
       drawable->h = images.back->height;




More information about the mesa-commit mailing list