summaryrefslogtreecommitdiff
path: root/src/resources/safeopenglimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 21:19:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 21:19:11 +0300
commit47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (patch)
tree8e85a0297bbbf75152e322b53910805902fa6815 /src/resources/safeopenglimagehelper.h
parent7be232f47b28ce1759e6d911014acc4f35202a31 (diff)
downloadmanaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz
manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2
manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz
manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip
Another fix for old compilers.
Diffstat (limited to 'src/resources/safeopenglimagehelper.h')
-rw-r--r--src/resources/safeopenglimagehelper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/safeopenglimagehelper.h b/src/resources/safeopenglimagehelper.h
index 0f2382d98..3c832cfc5 100644
--- a/src/resources/safeopenglimagehelper.h
+++ b/src/resources/safeopenglimagehelper.h
@@ -98,10 +98,10 @@ class SafeOpenGLImageHelper final : public ImageHelper
static int getInternalTextureType() A_WARN_UNUSED
{ return mInternalTextureType; }
- constexpr static void setInternalTextureType(const int n) noexcept2
+ constexpr2 static void setInternalTextureType(const int n) noexcept2
{ mInternalTextureType = n; }
- constexpr static void setBlur(const bool n) noexcept2
+ constexpr2 static void setBlur(const bool n) noexcept2
{ mBlur = n; }
static int mTextureType;
@@ -113,7 +113,7 @@ class SafeOpenGLImageHelper final : public ImageHelper
static void initTextureSampler(const GLint id);
- constexpr static void setUseTextureSampler(const bool b) noexcept2
+ constexpr2 static void setUseTextureSampler(const bool b) noexcept2
{ mUseTextureSampler = b; }
static void invalidate(const GLuint textureId);