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
Problem appears when default.raddbg_user file (example raddbg_config.zip) gets into a state where it has focus_animations: 1.
Then after launching the program and toggling fullscreen off (try pressing ctrl + enter once or twice) the program crashes with stackoverflow.
Screenshot of a callstack:
This is happening because function os_window_set_fullscreen(OS_Handle handle, B32 fullscreen) calls SetWindowPlacement(window->hwnd, &window->last_window_placement); which triggers os_w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) with WM_PAINT message. This triggers a call to update() -> frame() -> rd_frame() -> os_window_set_fullscreen. Calling update() on WM_PAINT causes the endless loop.
Thanks for the cool debugger,
Mateusz
The text was updated successfully, but these errors were encountered:
Problem appears when
default.raddbg_user
file (example raddbg_config.zip) gets into a state where it hasfocus_animations: 1
.Then after launching the program and toggling fullscreen off (try pressing ctrl + enter once or twice) the program crashes with stackoverflow.
Screenshot of a callstack:
This is happening because function
os_window_set_fullscreen(OS_Handle handle, B32 fullscreen)
callsSetWindowPlacement(window->hwnd, &window->last_window_placement);
which triggersos_w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
withWM_PAINT
message. This triggers a call toupdate()
->frame()
->rd_frame()
->os_window_set_fullscreen
. Callingupdate()
on WM_PAINT causes the endless loop.Thanks for the cool debugger,
Mateusz
The text was updated successfully, but these errors were encountered: