projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16c40d
)
r300g: don't use pipe_context::winsys
author
Marek Olšák
<maraeo@gmail.com>
Fri, 17 Feb 2012 00:26:21 +0000
(
01:26
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 17 Feb 2012 00:26:56 +0000
(
01:26
+0100)
src/gallium/drivers/r300/r300_transfer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_transfer.c
b/src/gallium/drivers/r300/r300_transfer.c
index 10ff2b019f0c2172b5d682dfc15aea9b90dd1d36..ada094bcb59630c713a3f01ec15f57f694e22f62 100644
(file)
--- a/
src/gallium/drivers/r300/r300_transfer.c
+++ b/
src/gallium/drivers/r300/r300_transfer.c
@@
-258,7
+258,7
@@
void* 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 =
(struct radeon_winsys *)ctx->winsy
s;
+ struct radeon_winsys *rws =
r300_context(ctx)->rw
s;
struct r300_transfer *r300transfer = r300_transfer(transfer);
struct r300_resource *tex = r300_resource(transfer->resource);