From cd0baf3217701134a8e61932fd14c39cec0cf242 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Sep 2013 15:56:56 +0300 Subject: Fix compilation errors with different flags. Also fix renderer selection in build without OpenGL. --- src/resources/openglimagehelper.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/resources/openglimagehelper.h') 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 false for SDL and - * true 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; -- cgit v1.2.3-60-g2f50