diff options
| author | Stenzek <stenzek@gmail.com> | 2018-01-21 15:03:06 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-03-01 17:31:24 +1000 |
| commit | 6374a4c4a80e88eea2e5914fb84e393c91ec65af (patch) | |
| tree | fcff01f0220c40ef2c594695272b181635bdf894 /Source/Core/VideoBackends/Null | |
| parent | 4316f5f56b9f3fdba89a52224a058b0fcd8b8c55 (diff) | |
AbstractTexture: Support multisampled abstract texture
Diffstat (limited to 'Source/Core/VideoBackends/Null')
| -rw-r--r-- | Source/Core/VideoBackends/Null/NullTexture.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Null/NullTexture.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Null/NullTexture.cpp b/Source/Core/VideoBackends/Null/NullTexture.cpp index 1bf3ae1470..55abc0521c 100644 --- a/Source/Core/VideoBackends/Null/NullTexture.cpp +++ b/Source/Core/VideoBackends/Null/NullTexture.cpp @@ -21,6 +21,10 @@ void NullTexture::ScaleRectangleFromTexture(const AbstractTexture* source, const MathUtil::Rectangle<int>& dstrect) { } +void NullTexture::ResolveFromTexture(const AbstractTexture* src, + const MathUtil::Rectangle<int>& rect, u32 layer, u32 level) +{ +} void NullTexture::Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer, size_t buffer_size) diff --git a/Source/Core/VideoBackends/Null/NullTexture.h b/Source/Core/VideoBackends/Null/NullTexture.h index b1cc0273ad..c80685c1e9 100644 --- a/Source/Core/VideoBackends/Null/NullTexture.h +++ b/Source/Core/VideoBackends/Null/NullTexture.h @@ -26,6 +26,8 @@ public: void ScaleRectangleFromTexture(const AbstractTexture* source, const MathUtil::Rectangle<int>& srcrect, const MathUtil::Rectangle<int>& dstrect) override; + void ResolveFromTexture(const AbstractTexture* src, const MathUtil::Rectangle<int>& rect, + u32 layer, u32 level) override; void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer, size_t buffer_size) override; }; |
