Explorar o código

Initialize and shutdown clipboard listener on iOS

Sam Lantinga hai 9 meses
pai
achega
d5e6116f8e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/video/uikit/SDL_uikitvideo.m

+ 4 - 0
src/video/uikit/SDL_uikitvideo.m

@@ -157,11 +157,15 @@ int UIKit_VideoInit(SDL_VideoDevice *_this)
     SDL_InitGCKeyboard();
     SDL_InitGCMouse();
 
+    UIKit_InitClipboard(_this);
+
     return 0;
 }
 
 void UIKit_VideoQuit(SDL_VideoDevice *_this)
 {
+    UIKit_QuitClipboard(_this);
+
     SDL_QuitGCKeyboard();
     SDL_QuitGCMouse();