mirror of https://github.com/libsdl-org/SDL.git
Fixed pen events on iOS after reinitializing SDL
We weren't resetting apple_pencil_id, so not re-registering it later.
This commit is contained in:
parent
ad2584813f
commit
3353b92a96
|
|
@ -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…
Reference in New Issue