From 30cfa022d1eaf44bc5fbfe0c02ce3c213c1c08cb Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Wed, 3 Mar 2021 12:35:34 -0500 Subject: [PATCH] [ion] Don't set the window title when screen only Prevents the web simulator from overriding the HTML page's title --- ion/src/simulator/shared/window.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ion/src/simulator/shared/window.cpp b/ion/src/simulator/shared/window.cpp index f331bf863..a6eab3c14 100644 --- a/ion/src/simulator/shared/window.cpp +++ b/ion/src/simulator/shared/window.cpp @@ -29,7 +29,11 @@ void init() { } sWindow = SDL_CreateWindow( +#if EPSILON_SDL_SCREEN_ONLY + nullptr, +#else "Epsilon", +#endif SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, #if EPSILON_SDL_SCREEN_ONLY