diff options
| author | Stenzek <stenzek@gmail.com> | 2017-10-30 21:51:42 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-11-22 18:47:04 +1000 |
| commit | 56afebeb44f1ace990d9383e9b840fdc27610029 (patch) | |
| tree | 3717a9e24cde9cfcc870ebfb7e083b4db053c0e5 /Source/Core/VideoBackends/Null/NullTexture.cpp | |
| parent | f43d85921dc85ae586d69b21d28a7578835a55bd (diff) | |
AbstractTexture: Seperate CopyRectangleFromTexture to two methods
ScaleRectangleFromTexture, which does a draw, and
CopyRectangleFromTexture, which where possible, does a bit-for-bit copy.
Diffstat (limited to 'Source/Core/VideoBackends/Null/NullTexture.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Null/NullTexture.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Null/NullTexture.cpp b/Source/Core/VideoBackends/Null/NullTexture.cpp index b5363d3918..471ec6c01c 100644 --- a/Source/Core/VideoBackends/Null/NullTexture.cpp +++ b/Source/Core/VideoBackends/Null/NullTexture.cpp @@ -14,9 +14,15 @@ void NullTexture::Bind(unsigned int stage) { } -void NullTexture::CopyRectangleFromTexture(const AbstractTexture* source, - const MathUtil::Rectangle<int>& srcrect, - const MathUtil::Rectangle<int>& dstrect) +void NullTexture::CopyRectangleFromTexture(const AbstractTexture* src, + const MathUtil::Rectangle<int>& src_rect, u32 src_layer, + u32 src_level, const MathUtil::Rectangle<int>& dst_rect, + u32 dst_layer, u32 dst_level) +{ +} +void NullTexture::ScaleRectangleFromTexture(const AbstractTexture* source, + const MathUtil::Rectangle<int>& srcrect, + const MathUtil::Rectangle<int>& dstrect) { } |
