From 008209179885ab96ad37252d2b4201eff0aca437 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 15:12:40 +0300 Subject: remove unused setTargetPlane function from renderers. --- src/render/mobileopenglgraphics.cpp | 5 ----- src/render/mobileopenglgraphics.h | 2 -- src/render/normalopenglgraphics.cpp | 5 ----- src/render/normalopenglgraphics.h | 2 -- src/render/nullopenglgraphics.cpp | 5 ----- src/render/nullopenglgraphics.h | 2 -- src/render/safeopenglgraphics.cpp | 5 ----- src/render/safeopenglgraphics.h | 2 -- 8 files changed, 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. */ -- cgit v1.2.3-70-g09d2