SuperUserNameMan
SuperUserNameMan
@paulmelis : If you can recompile Raylib, you might want to test that version : ```C // Toggle borderless windowed mode void ToggleBorderlessWindowed(void) { // Leave fullscreen before attempting to...
Do you have `FLAG_WINDOW_HIGHDPI` enabled ?
> Edit: it does still return the incorrect (previous) screen resolution As long as this flag is off, I dont notice anything wrong, even with other flags on or off....
The values returned by these funcs are updated when `WindowSizeCallback()` is called by GLFW sometimes later. We could set them directly into the `ToggleBorderlessWindowed()` function without further delay though :...
@paulmelis : could you please test the new version of this PR #4151 ? (it should work with `FLAG_WINDOW_HIGHDPI` enabled.) (and with resizable window too)
Here are some notes (and TODO) before I forget : --- ### Ubuntu + Wayland + `GLFW_LINUX_ENABLE_X11=FALSE` : - [ ] in Wayland mode, the console is spammed by `WARNING...
# Test source code : ```C #include #include "raylib.h" #include "raymath.h" void update(); void draw(); int main( int argc , char **argv ) { // SetWindowState( FLAG_MSAA_4X_HINT ); SetConfigFlags(FLAG_WINDOW_HIGHDPI); //
> Just tested your testing code above. The ToggleBorderlessWindowed() works fine, but the ToggleFullscreen() gives me a 640x480 (or sometimes 800x600) render, is that to be expected? My display is...
> If I make a game and the user selects fullscreen mode with 4k resolution on a 4k monitor than I might want the screen size & render size to...
https://github.com/SuperUserNameMan/raylib/blob/7ddb880f020d31ea1732473a1bb4848a9c0566ee/src/platforms/rcore_desktop_glfw.c#L191 For unknown reasons, this does not restore the previous monitor/desktop resolution on my X11 Cinamon desktop. The TV remains at the fullscreen resolution it was just before. **edit:** works...