[rlsw] Some platform fixes (#5720)
* fix drm with rlsw * fix window resizing with sdl * fix window resizing with win32
This commit is contained in:
parent
6ff51d3a2a
commit
138ef838d9
1 changed files with 9 additions and 7 deletions
|
|
@ -1528,6 +1528,10 @@ void PollInputEvents(void)
|
|||
if ((width + borderLeft + borderRight != usableBounds.w) && (height + borderTop + borderBottom != usableBounds.h)) FLAG_CLEAR(CORE.Window.flags, FLAG_WINDOW_MAXIMIZED);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(GRAPHICS_API_OPENGL_SOFTWARE)
|
||||
swResize(width, height);
|
||||
#endif
|
||||
} break;
|
||||
|
||||
case SDL_WINDOWEVENT_ENTER: CORE.Input.Mouse.cursorOnScreen = true; break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue