summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 16:07:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-08 16:07:28 +0300
commitcf5ad5970aa5c25ec413b95932171f4e5a2412c5 (patch)
tree92393a61f787716f27b054c4c4d4ac0fc77f7b6d /src/render/modernopenglgraphics.h
parent548c2b03f8184497a5306f4b4412e3120eaef211 (diff)
downloadmanaverse-cf5ad5970aa5c25ec413b95932171f4e5a2412c5.tar.gz
manaverse-cf5ad5970aa5c25ec413b95932171f4e5a2412c5.tar.bz2
manaverse-cf5ad5970aa5c25ec413b95932171f4e5a2412c5.tar.xz
manaverse-cf5ad5970aa5c25ec413b95932171f4e5a2412c5.zip
Clean modernopenglgraphics from legacy code.
Now it cant draw anything.
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index b6a77640b..09edcbd92 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -24,7 +24,7 @@
#define RENDER_MODERNOPENGLGRAPHICS_H
#include "main.h"
-#ifdef USE_OPENGL
+#if defined USE_OPENGL && !defined ANDROID
#include "localconsts.h"
#include "render/graphics.h"
@@ -56,16 +56,6 @@ class ModernOpenGLGraphics final : public Graphics
~ModernOpenGLGraphics();
- inline void drawTriangleArrayfs(const GLshort *const shortVertArray,
- const GLfloat *const floatTexArray,
- const int size);
-
- inline void drawTriangleArrayfs(const int size);
-
- inline void drawTriangleArrayfsCached(const int size);
-
- inline void drawLineArrays(const int size);
-
#include "render/graphicsdef.hpp"
#include "render/openglgraphicsdef.hpp"