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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp
index c81ac9b57..efcad9ff2 100644
--- a/src/render/renderers.cpp
+++ b/src/render/renderers.cpp
@@ -41,6 +41,9 @@ static RenderType getDefault() noexcept2
RenderType intToRenderType(const int mode) noexcept2
{
+#ifdef __SWITCH__
+ return RENDER_SDL2_DEFAULT;
+#endif
if (mode < 0 || mode >= RENDER_LAST)
return getDefault();