i915g: Fix u_blitter comment.
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 27 Jun 2011 02:09:02 +0000 (19:09 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Mon, 27 Jun 2011 09:05:59 +0000 (02:05 -0700)
src/gallium/drivers/i915/i915_resource_texture.c

index 3a00d08ad57fd15f72e22fb455f54c065316e3a3..62ec580fd311d0d3dcd59ce20d3792d0c40aa006 100644 (file)
@@ -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,