Merge pull request #629 from undefdev/master

Fix constrained rendering in windowed mode on macOS #620
This commit is contained in:
Bjorn 2023-01-06 14:49:28 -08:00 committed by GitHub
commit df4d519ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
.srgb = true
};
os_window_get_size(&state.window->info.width, &state.window->info.height);
os_window_get_fbsize(&state.window->info.width, &state.window->info.height);
state.depthFormat = config->stencil ? FORMAT_D32FS8 : FORMAT_D32F;