summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-06-26 19:09:02 -0700
committerStéphane Marchesin <marcheu@chromium.org>2011-06-27 02:05:59 -0700
commita8ebc5400ea022d96d297f606e1dc34f67e2969d (patch)
treea85fca491a7abb1a2f3dbbc1a4f53b6205f05cf3 /src
parent811963a7aed4d4ea9a3b2c8ad4db6a5c3f118956 (diff)
i915g: Fix u_blitter comment.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_resource_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index 3a00d08ad57..62ec580fd31 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -736,7 +736,8 @@ i915_texture_get_transfer(struct pipe_context *pipe,
transfer->b.layer_stride = 0;
transfer->b.data = NULL;
- /* only support textures we can render to, because we need that for u_blitter */
+ /* if we use staging transfers, only support textures we can render to,
+ * because we need that for u_blitter */
if (i915->blitter &&
i915_is_format_supported(NULL, /* screen */
transfer->b.resource->format,