diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 22:12:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:06 +0300 |
commit | 8714a174353529061c8c8d088d7246c4bd81000d (patch) | |
tree | 800067371dc1e4e425980afb9b54cf56f034ffa8 /src/resources/openglimagehelper.h | |
parent | dee02b54a28994e78bd7e738ac0b49df9f59d67f (diff) | |
download | plus-8714a174353529061c8c8d088d7246c4bd81000d.tar.gz plus-8714a174353529061c8c8d088d7246c4bd81000d.tar.bz2 plus-8714a174353529061c8c8d088d7246c4bd81000d.tar.xz plus-8714a174353529061c8c8d088d7246c4bd81000d.zip |
Change outline function to better quality but slower.
Also add function to create 32 bit surfaces.
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r-- | src/resources/openglimagehelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index 01ae7f66c..0036bf007 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -126,6 +126,8 @@ class OpenGLImageHelper final : public ImageHelper static void setUseTextureSampler(bool b) { mUseTextureSampler = b; } + SDL_Surface *create32BitSurface(int width, int height); + protected: /** * Returns the first power of two equal or bigger than the input. |