util: include u_surface.h, added comment
authorBrian Paul <brianp@vmware.com>
Thu, 6 Aug 2009 20:54:25 +0000 (14:54 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Aug 2009 20:54:25 +0000 (14:54 -0600)
src/gallium/auxiliary/util/u_blit.c

index 739aa51564ed9de7ce26e247b51d7ce42b46ca42..ebf3f144b5b78a074e9b90b0a6633cd7904d6094 100644 (file)
@@ -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 &&