diff options
author | marha <marha@users.sourceforge.net> | 2012-10-15 16:50:35 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-10-15 16:50:35 +0200 |
commit | 54db46582aba2252d544fa3956522f9ef06b49cb (patch) | |
tree | e3692fa2c3864c2bd13089d80bbaccb86b5d4825 /mesalib/src/gallium/auxiliary/util/u_pstipple.c | |
parent | 8223fb176264123c86c0d3eb845973d00fd62cc2 (diff) | |
download | vcxsrv-54db46582aba2252d544fa3956522f9ef06b49cb.tar.gz vcxsrv-54db46582aba2252d544fa3956522f9ef06b49cb.tar.bz2 vcxsrv-54db46582aba2252d544fa3956522f9ef06b49cb.zip |
xserver mesa pixman git update 15 oct 2012
xserver: a69429a17bf4630f6e26f61630a1c2b287202627
pixman: d5f2f39319fc358cccda60abe0bc927bd27131c1
mesa: 4004620d34a580c8fdb965d9b640e97453fc8b28
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_pstipple.c')
-rw-r--r-- | mesalib/src/gallium/auxiliary/util/u_pstipple.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_pstipple.c b/mesalib/src/gallium/auxiliary/util/u_pstipple.c index 3a91b1da1..68804ae98 100644 --- a/mesalib/src/gallium/auxiliary/util/u_pstipple.c +++ b/mesalib/src/gallium/auxiliary/util/u_pstipple.c @@ -69,9 +69,8 @@ util_pstipple_update_stipple_texture(struct pipe_context *pipe, int i, j; /* map texture memory */ - transfer = pipe_get_transfer(pipe, tex, 0, 0, - PIPE_TRANSFER_WRITE, 0, 0, 32, 32); - data = pipe->transfer_map(pipe, transfer); + data = pipe_transfer_map(pipe, tex, 0, 0, + PIPE_TRANSFER_WRITE, 0, 0, 32, 32, &transfer); /* * Load alpha texture. @@ -94,7 +93,6 @@ util_pstipple_update_stipple_texture(struct pipe_context *pipe, /* unmap */ pipe->transfer_unmap(pipe, transfer); - pipe->transfer_destroy(pipe, transfer); } |