summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-06 14:54:25 -0600
committerBrian Paul <brianp@vmware.com>2009-08-06 14:54:25 -0600
commit98f00e8eb90b2b46fe72ffb0aea6cd516cf47497 (patch)
tree6e968a0839ed578de810a4645b35d762420b4ed1 /src/gallium/auxiliary
parent24fdf8aadb6cd1f98d0ce54a1e4f28cb964b99e0 (diff)
util: include u_surface.h, added comment
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c2
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 739aa51564..ebf3f144b5 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 &&