projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r600g/llvm: Use gprcount from llvm
[mesa.git]
/
src
/
gallium
/
drivers
/
rbug
/
rbug_objects.c
diff --git
a/src/gallium/drivers/rbug/rbug_objects.c
b/src/gallium/drivers/rbug/rbug_objects.c
index 15f5db40093eb61c01438b8ce48e6c7d0b0f6baa..c64b14c183287279b8937d018a6d9b29342a7a9e 100644
(file)
--- a/
src/gallium/drivers/rbug/rbug_objects.c
+++ b/
src/gallium/drivers/rbug/rbug_objects.c
@@
-184,7
+184,7
@@
rbug_transfer_create(struct rbug_context *rb_context,
return &rb_transfer->base;
error:
return &rb_transfer->base;
error:
- rb_context->pipe->transfer_
destroy
(rb_context->pipe, transfer);
+ rb_context->pipe->transfer_
unmap
(rb_context->pipe, transfer);
return NULL;
}
return NULL;
}
@@
-193,8
+193,6
@@
rbug_transfer_destroy(struct rbug_context *rb_context,
struct rbug_transfer *rb_transfer)
{
pipe_resource_reference(&rb_transfer->base.resource, NULL);
struct rbug_transfer *rb_transfer)
{
pipe_resource_reference(&rb_transfer->base.resource, NULL);
- rb_transfer->pipe->transfer_destroy(rb_context->pipe,
- rb_transfer->transfer);
FREE(rb_transfer);
}
FREE(rb_transfer);
}