From c0c3782473479460273f1d6e8e0e3e7564ecff89 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jun 2014 23:57:06 +0300 Subject: Create empty OpenGL textures in batches. --- src/resources/sdl2softwareimagehelper.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/resources/sdl2softwareimagehelper.h') diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h index 41af65fdb..3d580a79f 100644 --- a/src/resources/sdl2softwareimagehelper.h +++ b/src/resources/sdl2softwareimagehelper.h @@ -54,13 +54,12 @@ class SDL2SoftwareImageHelper final : public ImageHelper /** * Loads an image from an SDL surface. */ - Image *load(SDL_Surface *const tmpImage) const - override final A_WARN_UNUSED; + Image *load(SDL_Surface *const tmpImage) override final A_WARN_UNUSED; Image *createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha) - const override final A_WARN_UNUSED; + override final A_WARN_UNUSED; static void SDLSetEnableAlphaCache(const bool n) { mEnableAlphaCache = n; } @@ -88,7 +87,7 @@ class SDL2SoftwareImageHelper final : public ImageHelper protected: /** SDL_Surface to SDL_Surface Image loader */ - Image *_SDLload(SDL_Surface *tmpImage) const A_WARN_UNUSED; + Image *_SDLload(SDL_Surface *tmpImage) A_WARN_UNUSED; static bool mEnableAlphaCache; static SDL_PixelFormat *mFormat; -- cgit v1.2.3-60-g2f50