summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:12:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commit8714a174353529061c8c8d088d7246c4bd81000d (patch)
tree800067371dc1e4e425980afb9b54cf56f034ffa8 /src/resources/openglimagehelper.h
parentdee02b54a28994e78bd7e738ac0b49df9f59d67f (diff)
downloadManaVerse-8714a174353529061c8c8d088d7246c4bd81000d.tar.gz
ManaVerse-8714a174353529061c8c8d088d7246c4bd81000d.tar.bz2
ManaVerse-8714a174353529061c8c8d088d7246c4bd81000d.tar.xz
ManaVerse-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.h2
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.