summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/TextureCache.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-09-30 16:25:36 +1000
committerStenzek <stenzek@gmail.com>2017-11-22 18:47:04 +1000
commit49a9c33bd75df2b8cebd58eab10f140c79a8f65c (patch)
treec770303bf41043303322e7bb230615d96ad2ea6c /Source/Core/VideoBackends/D3D/TextureCache.cpp
parent5860c97144a01c4203e98671e158086c672bcf97 (diff)
VideoCommon: Move abstract texture creation function to Renderer
Diffstat (limited to 'Source/Core/VideoBackends/D3D/TextureCache.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D/TextureCache.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/D3D/TextureCache.cpp b/Source/Core/VideoBackends/D3D/TextureCache.cpp
index 578a488bde..7d9d62cf54 100644
--- a/Source/Core/VideoBackends/D3D/TextureCache.cpp
+++ b/Source/Core/VideoBackends/D3D/TextureCache.cpp
@@ -33,11 +33,6 @@ static const size_t MAX_COPY_BUFFERS = 32;
static ID3D11Buffer* s_efbcopycbuf[MAX_COPY_BUFFERS] = {0};
static std::unique_ptr<PSTextureEncoder> g_encoder;
-std::unique_ptr<AbstractTexture> TextureCache::CreateTexture(const TextureConfig& config)
-{
- return std::make_unique<DXTexture>(config);
-}
-
void TextureCache::CopyEFB(u8* dst, const EFBCopyParams& params, u32 native_width,
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride,
const EFBRectangle& src_rect, bool scale_by_half)