mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
VideoBackends: Make TextureCache::CompileShaders return a bool
This commit is contained in:
parent
6a99cbd9fc
commit
828aac7890
8 changed files with 46 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue