Skip to content

Commit ff7043c

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 10f88a1 + e2cade4 commit ff7043c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/limitless/core/context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void Context::setFullscreen(bool value) noexcept {
134134

135135
const auto* mode = glfwGetVideoMode(monitor.value());
136136
monitor = std::nullopt;
137-
glfwSetWindowMonitor(window, monitor.value(), 0, 0, mode->width, mode->height, mode->refreshRate);
137+
glfwSetWindowMonitor(window, nullptr, 0, 0, mode->width, mode->height, mode->refreshRate);
138138
}
139139
}
140140

0 commit comments

Comments
 (0)