You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On MacOS when you drag the window slightly out of the monitor on the left, the rendering shrinks in half in the window, but only if there is a call to BeginTextureMode() in the render loop. If I remove the BeginTextureMode() from my render code, this issue does not happen. (See video below)
raysan5
changed the title
[raylib] MacOS - Render issue when window is partially move outside of the monitor
[rcore] Render issue when window is partially move outside of the monitor
May 13, 2024
I have a feeling that it's related to a DPI issue. The only thing that I notice is that when the window is centered in the screen GetWindowScaleDPI() returns 2.0 and when I drag it out of the screen it returns 1.0. That could explain why the render is half the size, but it doesn't explain why it works fine when you don't use BeginTextureMode() O.o
Please, before submitting a new issue verify and check:
Issue description
On MacOS when you drag the window slightly out of the monitor on the left, the rendering shrinks in half in the window, but only if there is a call to
BeginTextureMode()
in the render loop. If I remove theBeginTextureMode()
from my render code, this issue does not happen. (See video below)Environment
MacOS 14.3.1 (M1 - Apple Chip), OpenGL version 3
Issue Screenshot
bug_raylib_macos.mov
Code Example
The text was updated successfully, but these errors were encountered: