Dave Green

Results 39 comments of Dave Green
trafficstars

> Regarding point C: Is there a reason to store the desired width and height inside raylib rather then passing them directly to something like ToggleFullscreenEx(int width, int height) ?...

Unfortunately it is very hard to find a common solution that works for everyone and can be merged without creating to much work for maintainers. Basically we would have to...

> The efforts of [this PR](https://github.com/raysan5/raylib/pull/4151) have apparently gone nowhere which is unfortunate Yes, because we basically just tried to fix it without really thinking about the people who have...

@SuperUserNameMan thanks for all the work to fix all of this :) [When exiting fullscreen with `ToggleFullscreen()` function the position of the window is not set to previos position](https://github.com/raysan5/raylib/blob/7ddb880f020d31ea1732473a1bb4848a9c0566ee/src/platforms/rcore_desktop_glfw.c#L191) (like...

> Yes, because `ToggleFullscreen()` asks an "hardware fullscreen". > > The size of the render is set to the hardware resolution that is arbitrarily picked by GLFW to fit your...

> The more i'm digging into the code, the more i have the feeling that i'm going to do the overhaul i did not want to do I hoped that...

> `InitPlatform()` uses that approach for when `FLAG_FULLSCREEN_MODE` is set before `InitWindow()` : > > https://github.com/SuperUserNameMan/raylib/blob/7ddb880f020d31ea1732473a1bb4848a9c0566ee/src/platforms/rcore_desktop_glfw.c#L1415C1-L1432C10 Yes I know but it is the simplified version of just finding the closest...

> Am I hallucinating, or it does not even make use of its arguments ? It does not use them at all but I guess if you have fixed the...

## OBSOLETE This part [here](https://github.com/raysan5/raylib/blob/32e9d882d7cfc5a8aa4e310a72131a92221b6553/src/platforms/rcore_desktop_glfw.c#L1428C9-L1461C10) in `InitPlatform()` is weird... We should find the closest supported video mode first and then calculate the other values. For instance calculating the postion ```c...