summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-01-21 23:13:25 +1000
committerStenzek <stenzek@gmail.com>2018-01-22 13:22:09 +1000
commit38e0b6e2ab53374e7335fee94209bb90cb3e9ed2 (patch)
treea64d1b48bc9f7fedc5c9d83475d58b1118cb1057 /Source/Core/VideoBackends/Null
parentfca56d532a4da844c324d7a4ea05252e72d89fcf (diff)
AbstractTexture: Move Bind() method to Renderer
This makes state tracking simpler, and enables easier porting to command lists later on.
Diffstat (limited to 'Source/Core/VideoBackends/Null')
-rw-r--r--Source/Core/VideoBackends/Null/NullTexture.cpp4
-rw-r--r--Source/Core/VideoBackends/Null/NullTexture.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Null/NullTexture.cpp b/Source/Core/VideoBackends/Null/NullTexture.cpp
index 471ec6c01c..1bf3ae1470 100644
--- a/Source/Core/VideoBackends/Null/NullTexture.cpp
+++ b/Source/Core/VideoBackends/Null/NullTexture.cpp
@@ -10,10 +10,6 @@ NullTexture::NullTexture(const TextureConfig& tex_config) : AbstractTexture(tex_
{
}
-void NullTexture::Bind(unsigned int stage)
-{
-}
-
void NullTexture::CopyRectangleFromTexture(const AbstractTexture* src,
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
u32 src_level, const MathUtil::Rectangle<int>& dst_rect,
diff --git a/Source/Core/VideoBackends/Null/NullTexture.h b/Source/Core/VideoBackends/Null/NullTexture.h
index 8cfedc68ca..b1cc0273ad 100644
--- a/Source/Core/VideoBackends/Null/NullTexture.h
+++ b/Source/Core/VideoBackends/Null/NullTexture.h
@@ -19,8 +19,6 @@ public:
explicit NullTexture(const TextureConfig& config);
~NullTexture() = default;
- void Bind(unsigned int stage) override;
-
void CopyRectangleFromTexture(const AbstractTexture* src,
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
u32 src_level, const MathUtil::Rectangle<int>& dst_rect,