From b75f830166eaf294e43746f1bf5630f7f2dcf30f Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 3 May 2015 22:57:13 +0200 Subject: st/nine: Simplify NineVolume9_CopyVolume We had only one usage for this function. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/state_trackers/nine/device9.c') 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"); } -- cgit v1.2.3