summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 4a5035909..2bdfdac43 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -481,6 +481,9 @@ void GraphicsManager::setVideoMode()
int width = info->current_w;
int height = info->current_h;
#endif // USE_SDL2
+#elif defined __SWITCH__
+ int width = 1280;
+ int height = 720;
#else // defined __native_client__
int width = config.getIntValue("screenwidth");