/* Parent class */
struct pipe_transfer transfer;
- /* Pipe context. */
- struct pipe_context *ctx;
-
/* Offset from start of buffer. */
unsigned offset;
trans->transfer.sr = sr;
trans->transfer.usage = usage;
trans->transfer.box = *box;
- trans->ctx = ctx;
/* If the texture is tiled, we must create a temporary detiled texture
* for this transfer. */
if (r300transfer->detiled_texture) {
if (trans->usage & PIPE_TRANSFER_WRITE) {
- r300_copy_into_tiled_texture(r300transfer->ctx, r300transfer);
+ r300_copy_into_tiled_texture(ctx, r300transfer);
}
pipe_resource_reference(