Преглед на файлове

Initialize and shutdown clipboard listener on iOS

Sam Lantinga преди 1 година
родител
ревизия
d5e6116f8e
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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();