summaryrefslogtreecommitdiff
path: root/src/render/renderers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/renderers.cpp')
-rw-r--r--src/render/renderers.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp
index 60aeda1a1..6d385d294 100644
--- a/src/render/renderers.cpp
+++ b/src/render/renderers.cpp
@@ -22,7 +22,9 @@
#include "debug.h"
-static RenderType getDefault()
+static RenderType getDefault() noexcept A_CONST;
+
+static RenderType getDefault() noexcept
{
#ifdef USE_OPENGL
#ifdef ANDROID
@@ -35,7 +37,7 @@ static RenderType getDefault()
#endif
}
-RenderType intToRenderType(const int mode)
+RenderType intToRenderType(const int mode) noexcept
{
if (mode < 0 || mode >= RENDER_LAST)
return getDefault();