mirror of
https://github.com/gopher64/gopher64.git
synced 2026-10-31 03:26:52 +01:00
remove event watch on close (#964)
This commit is contained in:
1 parent
81a3cea9c7
commit
14b973ec5f
1 file changed
+2
@@ -446,6 +446,8 @@ void rdp_close() {
|
||||
delete wsi_platform;
|
||||
wsi_platform = nullptr;
|
||||
}
|
||||
|
||||
SDL_RemoveEventWatch(sdl_event_filter, nullptr);
|
||||
}
|
||||
|
||||
static void calculate_viewport(float *x, float *y, float *width, float *height,
|
||||
|
||||
Reference in new issue
Block a user