summaryrefslogtreecommitdiff
path: root/src/platform/stub_platform.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/stub_platform.cc')
-rw-r--r--src/platform/stub_platform.cc3
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;
}