|
@@ -102,13 +102,13 @@ UIKit_CreateDevice(int devindex)
|
|
|
device->GetWindowWMInfo = UIKit_GetWindowWMInfo;
|
|
|
device->GetDisplayUsableBounds = UIKit_GetDisplayUsableBounds;
|
|
|
|
|
|
- #if SDL_IPHONE_KEYBOARD
|
|
|
+#if SDL_IPHONE_KEYBOARD
|
|
|
device->HasScreenKeyboardSupport = UIKit_HasScreenKeyboardSupport;
|
|
|
device->ShowScreenKeyboard = UIKit_ShowScreenKeyboard;
|
|
|
device->HideScreenKeyboard = UIKit_HideScreenKeyboard;
|
|
|
device->IsScreenKeyboardShown = UIKit_IsScreenKeyboardShown;
|
|
|
device->SetTextInputRect = UIKit_SetTextInputRect;
|
|
|
- #endif
|
|
|
+#endif
|
|
|
|
|
|
device->SetClipboardText = UIKit_SetClipboardText;
|
|
|
device->GetClipboardText = UIKit_GetClipboardText;
|
|
@@ -124,14 +124,14 @@ UIKit_CreateDevice(int devindex)
|
|
|
device->GL_LoadLibrary = UIKit_GL_LoadLibrary;
|
|
|
device->free = UIKit_DeleteDevice;
|
|
|
|
|
|
- #if SDL_VIDEO_VULKAN_SURFACE
|
|
|
+#if SDL_VIDEO_VULKAN
|
|
|
device->Vulkan_LoadLibrary = UIKit_Vulkan_LoadLibrary;
|
|
|
device->Vulkan_UnloadLibrary = UIKit_Vulkan_UnloadLibrary;
|
|
|
device->Vulkan_GetInstanceExtensions
|
|
|
= UIKit_Vulkan_GetInstanceExtensions;
|
|
|
device->Vulkan_CreateSurface = UIKit_Vulkan_CreateSurface;
|
|
|
device->Vulkan_GetDrawableSize = UIKit_Vulkan_GetDrawableSize;
|
|
|
- #endif
|
|
|
+#endif
|
|
|
|
|
|
device->gl_config.accelerated = 1;
|
|
|
|