src/video/windows/SDL_windowsvideo.c
changeset 11365 a9bd2625fa01
parent 11284 3db78361e751
child 11381 2610f8f0a9c6
     1.1 --- a/src/video/windows/SDL_windowsvideo.c	Sun Aug 27 19:10:30 2017 -0700
     1.2 +++ b/src/video/windows/SDL_windowsvideo.c	Sun Aug 27 22:15:57 2017 -0400
     1.3 @@ -33,6 +33,7 @@
     1.4  #include "SDL_windowsvideo.h"
     1.5  #include "SDL_windowsframebuffer.h"
     1.6  #include "SDL_windowsshape.h"
     1.7 +#include "SDL_windowsvulkan.h"
     1.8  
     1.9  /* Initialization/Query functions */
    1.10  static int WIN_VideoInit(_THIS);
    1.11 @@ -190,6 +191,13 @@
    1.12      device->GL_SwapWindow = WIN_GLES_SwapWindow;
    1.13      device->GL_DeleteContext = WIN_GLES_DeleteContext;
    1.14  #endif
    1.15 +#if SDL_VIDEO_VULKAN_SURFACE
    1.16 +    device->Vulkan_LoadLibrary = WIN_Vulkan_LoadLibrary;
    1.17 +    device->Vulkan_UnloadLibrary = WIN_Vulkan_UnloadLibrary;
    1.18 +    device->Vulkan_GetInstanceExtensions = WIN_Vulkan_GetInstanceExtensions;
    1.19 +    device->Vulkan_CreateSurface = WIN_Vulkan_CreateSurface;
    1.20 +#endif
    1.21 +
    1.22      device->StartTextInput = WIN_StartTextInput;
    1.23      device->StopTextInput = WIN_StopTextInput;
    1.24      device->SetTextInputRect = WIN_SetTextInputRect;