From 562a4e25acd3bd4eb7183fbb5cd04891c4535423 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Thu, 3 Sep 2009 19:24:16 +0000 Subject: Some housecleaning around the D3D plugin, start of preparations to share even more code with the GL plugin. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4183 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp') diff --git a/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp b/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp index 7b5263d9a6..04fb246bb7 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/TextureCache.cpp @@ -149,10 +149,7 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width, return &entry; } lastTexture[stage] = entry.texture; - - // D3D::dev->SetTexture(stage,iter->second.texture); - Renderer::SetTexture( stage, entry.texture ); - + D3D::SetTexture( stage, entry.texture ); return &entry; } else @@ -244,8 +241,7 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width, SETSTAT(stats.numTexturesAlive, (int)textures.size()); //Set the texture! - // D3D::dev->SetTexture(stage,entry.texture); - Renderer::SetTexture( stage, entry.texture ); + D3D::SetTexture( stage, entry.texture ); lastTexture[stage] = entry.texture; -- cgit v1.2.3