summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-04 23:57:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-04 23:57:06 +0300
commitc0c3782473479460273f1d6e8e0e3e7564ecff89 (patch)
treea955e6376aa7c41d7bed3b60fd5b532fec5a7d20 /src/resources/sdl2softwareimagehelper.h
parent0c72851a2b47acba27944106eea4619b658d40ca (diff)
downloadplus-c0c3782473479460273f1d6e8e0e3e7564ecff89.tar.gz
plus-c0c3782473479460273f1d6e8e0e3e7564ecff89.tar.bz2
plus-c0c3782473479460273f1d6e8e0e3e7564ecff89.tar.xz
plus-c0c3782473479460273f1d6e8e0e3e7564ecff89.zip
Create empty OpenGL textures in batches.
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.h')
-rw-r--r--src/resources/sdl2softwareimagehelper.h7
1 files changed, 3 insertions, 4 deletions
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;