diff options
Diffstat (limited to 'src/platform/stub_platform.cc')
| -rw-r--r-- | src/platform/stub_platform.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/platform/stub_platform.cc b/src/platform/stub_platform.cc index 61473a0..a177ab3 100644 --- a/src/platform/stub_platform.cc +++ b/src/platform/stub_platform.cc @@ -11,14 +11,13 @@ struct GLFWwindow {}; PlatformState platform_init(bool fullscreen, int width, int height) { - (void)fullscreen; PlatformState state = {}; state.width = width; state.height = height; state.aspect_ratio = (float)width / (float)height; state.window = nullptr; state.time = 0.0; - state.is_fullscreen = false; + state.is_fullscreen = fullscreen; return state; } |
