mirror of https://github.com/bjornbytes/lovr.git
Merge pull request #629 from undefdev/master
Fix constrained rendering in windowed mode on macOS #620
This commit is contained in:
commit
df4d519ccd
|
@ -649,7 +649,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
|
||||||
.srgb = true
|
.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;
|
state.depthFormat = config->stencil ? FORMAT_D32FS8 : FORMAT_D32F;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue