mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
r300g: silence warnings
This commit is contained in:
parent
0ecc9d907e
commit
d9c8a8fe61
1 changed files with 0 additions and 2 deletions
|
|
@ -246,9 +246,7 @@ r300_texture_transfer_map(struct pipe_context *ctx,
|
|||
void r300_texture_transfer_unmap(struct pipe_context *ctx,
|
||||
struct pipe_transfer *transfer)
|
||||
{
|
||||
struct radeon_winsys *rws = r300_context(ctx)->rws;
|
||||
struct r300_transfer *trans = r300_transfer(transfer);
|
||||
struct r300_resource *tex = r300_resource(transfer->resource);
|
||||
|
||||
if (trans->linear_texture) {
|
||||
if (transfer->usage & PIPE_TRANSFER_WRITE) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue