Merge pull request #17265 from ahmedmoselhi/patch-1

fix build error: duplicate case value: 'SDL_SYSWM_X11' and  'WINDOWSY…
This commit is contained in:
Henrik Rydgård 2023-04-11 16:53:15 +02:00 committed by GitHub
commit a8418dc181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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