diff --git a/SDL/SDLVulkanGraphicsContext.cpp b/SDL/SDLVulkanGraphicsContext.cpp index df59fd20c1..608ad3dbbd 100644 --- a/SDL/SDLVulkanGraphicsContext.cpp +++ b/SDL/SDLVulkanGraphicsContext.cpp @@ -112,7 +112,7 @@ bool SDLVulkanGraphicsContext::Init(SDL_Window *&window, int x, int y, int w, in #endif #endif #if defined(VK_USE_PLATFORM_DISPLAY_KHR) - case WINDOWSYSTEM_DISPLAY: + case SDL_SYSWM_KMSDRM: /* There is no problem passing null for the next two arguments, and reinit will be called later huangzihan china