projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0f65e
)
st/nine: Correctly release sw cursor image
author
Axel Davy
<axel.davy@ens.fr>
Mon, 24 Oct 2016 19:50:26 +0000
(21:50 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:21 +0000
(23:44 +0100)
cursor.image is used for software cursor
emulation. It wasn't released.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9.c
index
a78d18e
..
62f2e8e
100644
(file)
--- a/
src/gallium/state_trackers/nine/device9.c
+++ b/
src/gallium/state_trackers/nine/device9.c
@@
-511,6
+511,7
@@
NineDevice9_dtor( struct NineDevice9 *This )
FREE(This->state.vs_const_b);
FREE(This->state.vs_const_f_swvp);
+ pipe_resource_reference(&This->cursor.image, NULL);
FREE(This->cursor.hw_upload_temp);
if (This->swapchains) {