fix build error: duplicate case value: 'SDL_SYSWM_X11' and 'WINDOWSYSTEM_DISPLAY' both equal '2'

This commit is contained in:
ahmedmoselhi authored and GitHub committed 2023-04-11 16:17:12 +02:00
1 parent a02e56f52b
commit b3c8274a80
1 file changed
+1 -1
+1 -1
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