GUI: default to OpenGL 1.1 on XP

This commit is contained in:
tildearrow 2024-04-07 03:33:12 -05:00
parent 03952b7564
commit 4ba071c004

View file

@ -82,8 +82,13 @@ enum FurnaceGUIRenderBackend {
#define GUI_BACKEND_DEFAULT_NAME "DirectX 11"
#else
#ifdef HAVE_RENDER_GL
#ifdef SUPPORT_XP
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL1
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 1.1"
#else
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL3
#define GUI_BACKEND_DEFAULT_NAME "OpenGL"
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 3.0"
#endif
#else
#ifdef HAVE_RENDER_SDL
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SDL