GUI: default to OpenGL on macOS
Metal backend seems to be unstable...
This commit is contained in:
parent
eb27d61197
commit
56d648189a
|
|
@ -80,36 +80,31 @@ enum FurnaceGUIRenderBackend {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef HAVE_RENDER_DX11
|
#ifdef HAVE_RENDER_DX11
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_DX11
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_DX11
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "DirectX 11"
|
#define GUI_BACKEND_DEFAULT_NAME "DirectX 11"
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_RENDER_METAL
|
#ifdef HAVE_RENDER_GL
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_METAL
|
#ifdef SUPPORT_XP
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "Metal"
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL1
|
||||||
#else
|
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 1.1"
|
||||||
#ifdef HAVE_RENDER_GL
|
#else
|
||||||
#ifdef SUPPORT_XP
|
#ifdef USE_GLES
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL1
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL3
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 1.1"
|
#define GUI_BACKEND_DEFAULT_NAME "OpenGL ES 2.0"
|
||||||
#else
|
#else
|
||||||
#ifdef USE_GLES
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL3
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL3
|
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 3.0"
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "OpenGL ES 2.0"
|
#endif
|
||||||
#else
|
#endif
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_GL3
|
#else
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "OpenGL 3.0"
|
#ifdef HAVE_RENDER_SDL
|
||||||
#endif
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SDL
|
||||||
#endif
|
#define GUI_BACKEND_DEFAULT_NAME "SDL"
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_RENDER_SDL
|
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SOFTWARE
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SDL
|
#define GUI_BACKEDN_DEFAULT_NAME "Software"
|
||||||
#define GUI_BACKEND_DEFAULT_NAME "SDL"
|
#endif
|
||||||
#else
|
#endif
|
||||||
#define GUI_BACKEND_DEFAULT GUI_BACKEND_SOFTWARE
|
|
||||||
#define GUI_BACKEDN_DEFAULT_NAME "Software"
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SUPPORT_XP
|
#ifdef SUPPORT_XP
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue