Comments (3)
else
{
CORE.Window.fullscreen = true;
CORE.Window.flags |= FLAG_FULLSCREEN_MODE;
const GLFWvidmode *mode = glfwGetVideoMode(monitor);
glfwSetWindowMonitor(platform.handle, monitor, 0, 0, mode->width, mode->height, GLFW_DONT_CARE);
}
Use the width and height of mode of the monitor can solve it.
from raylib.
Is this an error? I don't see something like this in rcore_desktop_sdl.c.
@archewashi This is not an error but the expected behaviour. When an application requests full-screen exclusive mode, the monitor resolution should match (as close as possible) the application resolution.
If that's not the desired behaviour, then borderless-fullscreen-window should be requested with ToggleBorderlessWindowed()
that scales application to monitor resolution.
from raylib.
Oh, I see. Thank you, @raysan5.
from raylib.
Related Issues (20)
- [rtext] Blurry text when drawing custom font to RenderTexture HOT 3
- [rtextures] `LoadImageSvg()` causes heap buffer overflow when reading from file HOT 3
- Minimizing the window causes a crash when using raylib 32 bit dll from Dolphin Smalltalk external interfacing HOT 1
- Backface culling now working HOT 3
- [build] next release version HOT 3
- [rcore] Provide FLAG_WINDOW_UNFOCUSED functionality for SDL backend HOT 1
- [Examples] Example "models_loading.c" does not build HOT 10
- [core] Memory leak when running first window sample (Nvidia Drivers on Linux) HOT 2
- [misc] Statically linked raylib exposes functions from `src/external/*` HOT 11
- [WIP] [Examples] Update progress for v5.5 HOT 9
- [rcore] [desktop_GLFW] Window System Improvements HOT 10
- [docs] Documentation inconsistently uses Camera/Camera3D. HOT 2
- [rcore] Ability to rebind Capture/F12 hotkey HOT 1
- Request for a Evolve E2 85 Headset instead of the Evolve E2 65
- Truncating buffer in TextFormat might not work as intended HOT 2
- [rcore] Can't compile PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_21 HOT 2
- [build] ANGLE/OpenGL ES 2.0 using `build.zig` HOT 2
- [rtextures] Add different wrap modes for NPatches HOT 2
- [rcore] Configuration changes on Android are handled incorrectly HOT 4
- ImageDrawCircle distorting image when `centerX < radius` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raylib.