summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
commitcd0baf3217701134a8e61932fd14c39cec0cf242 (patch)
tree7d18a8b58d753865c3de9027fd384035375c7ab9 /src/resources/openglimagehelper.h
parente71aed97c2d885c8113561c1e0cad91454adeb57 (diff)
downloadmanaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz
manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.zip
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r--src/resources/openglimagehelper.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h
index 5ecf4512e..b8437e1aa 100644
--- a/src/resources/openglimagehelper.h
+++ b/src/resources/openglimagehelper.h
@@ -95,12 +95,6 @@ class OpenGLImageHelper final : public ImageHelper
// OpenGL only public functions
- /**
- * Sets the target image format. Use <code>false</code> for SDL and
- * <code>true</code> for OpenGL.
- */
- static void setLoadAsOpenGL(const RenderType useOpenGL);
-
static int getTextureType() A_WARN_UNUSED
{ return mTextureType; }
@@ -117,12 +111,6 @@ class OpenGLImageHelper final : public ImageHelper
static int mInternalTextureType;
- /**
- * Tells if the image was loaded using OpenGL or SDL
- * @return true if OpenGL, false if SDL.
- */
- RenderType useOpenGL() const override A_WARN_UNUSED;
-
static int getTextureSize() A_WARN_UNUSED
{ return mTextureSize; }
@@ -142,7 +130,6 @@ class OpenGLImageHelper final : public ImageHelper
Image *glLoad(SDL_Surface *tmpImage,
int width = 0, int height = 0) const A_WARN_UNUSED;
- static RenderType mUseOpenGL;
static int mTextureSize;
static bool mBlur;
static bool mUseTextureSampler;