diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 21:19:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 21:19:11 +0300 |
commit | 47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (patch) | |
tree | 8e85a0297bbbf75152e322b53910805902fa6815 /src/resources/openglimagehelper.h | |
parent | 7be232f47b28ce1759e6d911014acc4f35202a31 (diff) | |
download | plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2 plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip |
Another fix for old compilers.
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r-- | src/resources/openglimagehelper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index 87faaefe7..6311ca9e5 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -98,10 +98,10 @@ class OpenGLImageHelper final : public ImageHelper static int getInternalTextureType() noexcept2 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 OpenGLImageHelper 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); |