mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
GUI: default to OpenGL 1.1 on XP
This commit is contained in:
parent
03952b7564
commit
4ba071c004
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue