summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 15:12:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 15:12:40 +0300
commit008209179885ab96ad37252d2b4201eff0aca437 (patch)
tree0cc19905c2748788c831385e460ba70bec60c36c
parentb8c77348db8b0bf500cb6a13cce75c61a544c500 (diff)
downloadmanaverse-008209179885ab96ad37252d2b4201eff0aca437.tar.gz
manaverse-008209179885ab96ad37252d2b4201eff0aca437.tar.bz2
manaverse-008209179885ab96ad37252d2b4201eff0aca437.tar.xz
manaverse-008209179885ab96ad37252d2b4201eff0aca437.zip
remove unused setTargetPlane function from renderers.
-rw-r--r--src/render/mobileopenglgraphics.cpp5
-rw-r--r--src/render/mobileopenglgraphics.h2
-rw-r--r--src/render/normalopenglgraphics.cpp5
-rw-r--r--src/render/normalopenglgraphics.h2
-rw-r--r--src/render/nullopenglgraphics.cpp5
-rw-r--r--src/render/nullopenglgraphics.h2
-rw-r--r--src/render/safeopenglgraphics.cpp5
-rw-r--r--src/render/safeopenglgraphics.h2
8 files changed, 0 insertions, 28 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index ce930f416..eee4b9b0c 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -1038,11 +1038,6 @@ void MobileOpenGLGraphics::fillRectangle(const gcn::Rectangle& rect)
drawRectangle(rect, true);
}
-void MobileOpenGLGraphics::setTargetPlane(int width A_UNUSED,
- int height A_UNUSED)
-{
-}
-
void MobileOpenGLGraphics::setTexturingAndBlending(const bool enable)
{
if (enable)
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h
index c5d39ff7f..75a171766 100644
--- a/src/render/mobileopenglgraphics.h
+++ b/src/render/mobileopenglgraphics.h
@@ -156,8 +156,6 @@ class MobileOpenGLGraphics final : public Graphics
void fillRectangle(const gcn::Rectangle &rect) override final;
- void setTargetPlane(int width, int height);
-
inline void drawTriangleArrayfs(const GLshort *const shortVertArray,
const GLfloat *const floatTexArray,
const int size);
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index fd5568b87..f837d1928 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -1244,11 +1244,6 @@ void NormalOpenGLGraphics::fillRectangle(const gcn::Rectangle& rect)
drawRectangle(rect, true);
}
-void NormalOpenGLGraphics::setTargetPlane(int width A_UNUSED,
- int height A_UNUSED)
-{
-}
-
void NormalOpenGLGraphics::setTexturingAndBlending(const bool enable)
{
if (enable)
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h
index 05ca3b7c4..f679a915e 100644
--- a/src/render/normalopenglgraphics.h
+++ b/src/render/normalopenglgraphics.h
@@ -152,8 +152,6 @@ class NormalOpenGLGraphics final : public Graphics
void fillRectangle(const gcn::Rectangle &rect) override final;
- void setTargetPlane(int width, int height);
-
inline void drawQuadArrayfi(const int size);
inline void drawQuadArrayfi(const GLint *const intVertArray,
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index c81b93990..d1d157503 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -1004,11 +1004,6 @@ void NullOpenGLGraphics::fillRectangle(const gcn::Rectangle& rect)
drawRectangle(rect, true);
}
-void NullOpenGLGraphics::setTargetPlane(int width A_UNUSED,
- int height A_UNUSED)
-{
-}
-
void NullOpenGLGraphics::setTexturingAndBlending(const bool enable)
{
if (enable)
diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h
index 28d724820..cdd9df0f6 100644
--- a/src/render/nullopenglgraphics.h
+++ b/src/render/nullopenglgraphics.h
@@ -155,8 +155,6 @@ class NullOpenGLGraphics final : public Graphics
void fillRectangle(const gcn::Rectangle &rect) override final;
- void setTargetPlane(int width, int height);
-
inline void drawQuadArrayfi(const int size);
inline void drawQuadArrayfi(const GLint *const intVertArray,
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index 1daf054ba..cc56e4b89 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -550,11 +550,6 @@ void SafeOpenGLGraphics::fillRectangle(const gcn::Rectangle& rect)
drawRectangle(rect, true);
}
-void SafeOpenGLGraphics::setTargetPlane(int width A_UNUSED,
- int height A_UNUSED)
-{
-}
-
void SafeOpenGLGraphics::setTexturingAndBlending(const bool enable)
{
if (enable)
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index 34a8912ff..4e9366bf5 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -144,8 +144,6 @@ class SafeOpenGLGraphics final : public Graphics
void fillRectangle(const gcn::Rectangle &rect) override final;
- void setTargetPlane(int width, int height);
-
/**
* Takes a screenshot and returns it as SDL surface.
*/