summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-04-16 19:45:22 +1000
committerStenzek <stenzek@gmail.com>2017-04-29 00:14:23 +1000
commitf4b848949c67ffe99db61e5f4d0b968154e6c5ba (patch)
tree8a0a4709aa615f3f46117ff13712d21d3eda6103 /Source/Core/VideoBackends/Software/SWmain.cpp
parentbc8a96d713eb0a1fb565f121a5d939b99c2295fa (diff)
TextureCache: Support compressed textures and pass pitch/size to upload
This also removes an extra copy of the image for custom textures.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 1b26f1d40a..e004a0cac3 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -65,7 +65,10 @@ private:
{
TCacheEntry(const TCacheEntryConfig& _config) : TCacheEntryBase(_config) {}
~TCacheEntry() {}
- void Load(const u8* buffer, u32 width, u32 height, u32 expanded_width, u32 level) override {}
+ void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer,
+ size_t buffer_size) override
+ {
+ }
void FromRenderTarget(bool is_depth_copy, const EFBRectangle& srcRect, bool scaleByHalf,
unsigned int cbufid, const float* colmat) override
{