Mesa (mesa_7_5_branch): util: include u_surface.h, added comment

Brian Paul brianp at kemper.freedesktop.org
Thu Aug 6 20:54:52 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 98f00e8eb90b2b46fe72ffb0aea6cd516cf47497
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98f00e8eb90b2b46fe72ffb0aea6cd516cf47497

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug  6 14:54:25 2009 -0600

util: include u_surface.h, added comment

---

 src/gallium/auxiliary/util/u_blit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 739aa51..ebf3f14 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -45,6 +45,7 @@
 #include "util/u_math.h"
 #include "util/u_memory.h"
 #include "util/u_simple_shaders.h"
+#include "util/u_surface.h"
 
 #include "cso_cache/cso_context.h"
 
@@ -335,6 +336,7 @@ util_blit_pixels(struct blit_state *ctx,
    /*
     * Check for simple case:  no format conversion, no flipping, no stretching,
     * no overlapping.
+    * Filter mode should not matter since there's no stretching.
     */
    if (dst->format == src->format &&
        srcX0 < srcX1 &&




More information about the mesa-commit mailing list