Skip to content

Commit 5eb465a

Browse files
committed
Set window borderless as default for android
1 parent a9245fe commit 5eb465a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

code/graphics/2d.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,11 @@ const auto LightingOption __UNUSED = options::OptionBuilder<int>("Graphics.Light
216216
.parser(parse_lighting_func)
217217
.finish();
218218

219+
#ifndef __ANDROID__
219220
os::ViewportState Gr_configured_window_state = os::ViewportState::Fullscreen;
221+
#else
222+
os::ViewportState Gr_configured_window_state = os::ViewportState::Borderless;
223+
#endif
220224

221225
static bool mode_change_func(os::ViewportState state, bool initial)
222226
{

0 commit comments

Comments
 (0)