diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2010-11-18 02:21:26 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2010-11-18 02:21:26 +0000 |
| commit | 159ed43f677ed62097569244882c0a9ddffa7a67 (patch) | |
| tree | bb49f2f233f9b4039d754f756de31e3ea488a84b /Source/Core/VideoCommon/Src/TextureCacheBase.cpp | |
| parent | 054358380e578c6f33fc1dd343fad552d0c47256 (diff) | |
Move some shared gfx plugin code into VideoCommon. Changed "Renderer" class to use virtual functions. (setting stuff up for video plugin merging)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6433 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureCacheBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp index 65a74b71dc..f0a5f2d639 100644 --- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp @@ -4,7 +4,7 @@ #include "VideoConfig.h" #include "Statistics.h" #include "HiresTextures.h" -#include "Render.h" +#include "RenderBase.h" #include "FileUtil.h" #include "Profiler.h" @@ -668,9 +668,9 @@ void TextureCache::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, entry->frameCount = frameCount; - Renderer::ResetAPIState(); // reset any game specific settings + g_renderer->ResetAPIState(); // reset any game specific settings entry->FromRenderTarget(bFromZBuffer, bScaleByHalf, cbufid, colmat, source_rect, bIsIntensityFmt, copyfmt); - Renderer::RestoreAPIState(); + g_renderer->RestoreAPIState(); } |
