From de1b52f161ff3812e525a3ffbde841a89c6b1dcd Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 13 Sep 2025 11:28:57 -0400 Subject: [PATCH] cmake: Adjust Enabled Backends list for render drivers to catch opengles2. This happens to work here because we don't have anything too complex, afaik. Rejecting strings with underscores was crucial for other things, like video with all its X11 variables, so this can't be applied to the other subsystems. (Also, renaming the `SDL_VIDEO_RENDER_OGL_ES2` variable might be nice, too, but let's keep this simple for now.) Fixes #13938. --- cmake/macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros.cmake b/cmake/macros.cmake index 2a7723e326..59f6d24390 100644 --- a/cmake/macros.cmake +++ b/cmake/macros.cmake @@ -395,7 +395,7 @@ function(SDL_PrintSummary) if(SDL_VIDEO_DRIVER_X11) PrintEnabledBackends("X11 libraries" "^SDL_VIDEO_DRIVER_X11_([A-Z0-9]*)$") endif() - PrintEnabledBackends("Render drivers" "^SDL_VIDEO_RENDER_([A-Z0-9]*)$") + PrintEnabledBackends("Render drivers" "^SDL_VIDEO_RENDER_([A-Z0-9_]*)$") PrintEnabledBackends("GPU drivers" "^SDL_GPU_([A-Z0-9]*)$") PrintEnabledBackends("Audio drivers" "^SDL_AUDIO_DRIVER_([A-Z0-9]*)$") PrintEnabledBackends("Joystick drivers" "^SDL_JOYSTICK_([A-Z0-9]*)$")