mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
VideoCommon: move texture dump function out of texture cache to its own free function so it can be used elsewhere. Doing this change may also slightly improve performance of this operation
This commit is contained in:
@ -38,7 +38,7 @@ public:
|
||||
MathUtil::Rectangle<int> GetRect() const { return m_config.GetRect(); }
|
||||
MathUtil::Rectangle<int> GetMipRect(u32 level) const { return m_config.GetMipRect(level); }
|
||||
bool IsMultisampled() const { return m_config.IsMultisampled(); }
|
||||
bool Save(const std::string& filename, unsigned int level, int compression = 6);
|
||||
bool Save(const std::string& filename, unsigned int level, int compression = 6) const;
|
||||
|
||||
static bool IsCompressedFormat(AbstractTextureFormat format);
|
||||
static bool IsDepthFormat(AbstractTextureFormat format);
|
||||
|
Reference in New Issue
Block a user