diff options
| author | Stenzek <stenzek@gmail.com> | 2016-08-13 22:56:01 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2016-10-01 01:09:12 +1000 |
| commit | 828aac789073f6960f41b73102dc7a2ea56c6730 (patch) | |
| tree | 730393da8dfbe5249244bacfa4e6a0fd06eeebd1 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 6a99cbd9fc32637b18b1b030ec06ce9c73be04eb (diff) | |
VideoBackends: Make TextureCache::CompileShaders return a bool
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 47bfa694bf..ebac32de3a 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -47,10 +47,12 @@ public: class TextureCache : public TextureCacheBase { public: - void CompileShaders() override{}; - void DeleteShaders() override{}; + bool CompileShaders() override { return true; } + void DeleteShaders() override {} void ConvertTexture(TCacheEntryBase* entry, TCacheEntryBase* unconverted, void* palette, - TlutFormat format) override{}; + TlutFormat format) override + { + } void CopyEFB(u8* dst, u32 format, u32 native_width, u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride, PEControl::PixelFormat srcFormat, const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf) override |
