i915g: Fix u_blitter comment.

This commit is contained in:
Stéphane Marchesin 2011-06-26 19:09:02 -07:00
parent 811963a7ae
commit a8ebc5400e
1 changed files with 2 additions and 1 deletions

View 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,