raylib/src
hristo 70965f20d5
Disabling WindowSizeCallback around fullscreen toggle. (#1480)
* Disabling WindowSizeCallback around fullscreen toggle.

#1294 fixed the issue that toggle fullscreen changes the screen size because of the WindowSizeCallback. The proposed edit by @raysan5 was to comment out WindowSizeCallback which I essentially simplified to disable the callback around the set window monitor functions.

The developers using the ToggleFullscreen function should be aware that they need to size the screen correctly on that same frame. Otherwise they should check if fullscreen and size properly using the GetMonitorWidth and GetMonitorHeight functions.

* Update core.c

Fix issue from merge
2021-02-07 20:55:27 +01:00
..
external Update miniaudio to v0.10.32 #1562 2021-02-05 19:18:44 +01:00
camera.h Update year to 2021 2021-01-02 18:15:13 +01:00
CMakeLists.txt Documentation cmake (#1549) 2021-01-26 14:34:27 +01:00
config.h Removing config.h.in file (#1546) 2021-01-25 10:47:53 +01:00
core.c Disabling WindowSizeCallback around fullscreen toggle. (#1480) 2021-02-07 20:55:27 +01:00
easings.h Update easings.h (#1210) 2020-04-21 21:17:58 +02:00
gestures.h Update year to 2021 2021-01-02 18:15:13 +01:00
Makefile Update Makefile 2020-12-24 19:08:02 +01:00
models.c REVIEWED: Replace GetImageData() by LoadImageColors() 2021-02-06 13:29:22 +01:00
physac.h REVIEWED: physac module and examples #1525 2021-01-20 20:55:12 +01:00
raudio.c REVIEWED: Multichannel sound system #1548 2021-02-07 19:20:30 +01:00
raudio.h Update year to 2021 2021-01-02 18:15:13 +01:00
raylib.dll.rc Added resource file for DLL compilation info 2020-08-19 11:59:50 +02:00
raylib.dll.rc.data Avoid architecture selection on gcc, use correct gcc version instead 2020-08-20 17:37:01 +02:00
raylib.h Review formating for latest PR 2021-02-07 20:47:40 +01:00
raylib.ico Updated icon data 2018-09-26 16:02:42 +02:00
raylib.rc Update resource file 2020-12-23 13:48:43 +01:00
raylib.rc.data Update resource file 2020-12-23 13:48:43 +01:00
raymath.h Update year to 2021 2021-01-02 18:15:13 +01:00
rglfw.c Update year to 2021 2021-01-02 18:15:13 +01:00
rlgl.h REVIEWED: raudio: Some LOG_ERROR -> LOG_WARNING #1562 2021-02-05 19:19:44 +01:00
rmem.h Remove trailing spaces 2020-12-23 15:03:26 +01:00
rnet.h [rnet] Renamed some functions 2020-02-20 13:46:33 +01:00
shapes.c Update year to 2021 2021-01-02 18:15:13 +01:00
shell.html Get icons back on shell.html 2020-03-30 21:34:45 +02:00
text.c Reorder function 2021-01-12 20:24:58 +01:00
textures.c Update year to 2021 2021-01-02 18:15:13 +01:00
utils.c REMOVED: SetTraceLogExit() 2021-02-05 14:36:28 +01:00
utils.h Update year to 2021 2021-01-02 18:15:13 +01:00
uwp_events.h UWP rework (#1231) 2020-04-30 19:48:39 +02:00