mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-14 10:17:54 +00:00
Fixed pen events on iOS after reinitializing SDL
We weren't resetting apple_pencil_id, so not re-registering it later.
(cherry picked from commit 3353b92a96)
This commit is contained in:
parent
2d2085c80b
commit
7c82171a85
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include "SDL_uikitvulkan.h"
|
||||
#include "SDL_uikitmetalview.h"
|
||||
#include "SDL_uikitmessagebox.h"
|
||||
#include "SDL_uikitpen.h"
|
||||
|
||||
#define UIKITVID_DRIVER_NAME "uikit"
|
||||
|
||||
|
|
@ -170,6 +171,7 @@ static void UIKit_VideoQuit(SDL_VideoDevice *_this)
|
|||
|
||||
SDL_QuitGCKeyboard();
|
||||
SDL_QuitGCMouse();
|
||||
UIKit_QuitPen(_this);
|
||||
|
||||
UIKit_QuitModes(_this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue