summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-05-03 22:57:13 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:46 +0200
commitb75f830166eaf294e43746f1bf5630f7f2dcf30f (patch)
treef75a88a64172ed68d69e3a15113a5b1cb0e6b350 /src/gallium/state_trackers/nine/device9.c
parentbc42c29013209f80182a634e32c702edb2327b22 (diff)
st/nine: Simplify NineVolume9_CopyVolume
We had only one usage for this function. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.c')
-rw-r--r--src/gallium/state_trackers/nine/device9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index 57831c4a40a..b72045efbdd 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -1353,8 +1353,8 @@ NineDevice9_UpdateTexture( struct NineDevice9 *This,
struct NineVolumeTexture9 *src = NineVolumeTexture9(srcb);
for (l = 0; l <= last_level; ++l, ++m)
- NineVolume9_CopyVolume(dst->volumes[l],
- src->volumes[m], 0, 0, 0, NULL);
+ NineVolume9_CopyMemToDefault(dst->volumes[l],
+ src->volumes[m], 0, 0, 0, NULL);
} else{
assert(!"invalid texture type");
}