From a8ebc5400ea022d96d297f606e1dc34f67e2969d Mon Sep 17 00:00:00 2001 From: Stéphane Marchesin Date: Sun, 26 Jun 2011 19:09:02 -0700 Subject: i915g: Fix u_blitter comment. --- src/gallium/drivers/i915/i915_resource_texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3