Default to opengl render for arm64 windows

The opengl compatibility pack is pre-installed on
arm64 windows according to a user
This commit is contained in:
Benau 2022-09-19 00:12:51 +08:00
parent dd6768911d
commit 7a1706834f

View File

@ -712,14 +712,14 @@ namespace UserConfigParams
PARAM_DEFAULT( FloatUserConfigParam(3, "font_size", PARAM_DEFAULT( FloatUserConfigParam(3, "font_size",
&m_video_group, "The size of fonts. 0 is the smallest and 6 is the biggest") ); &m_video_group, "The size of fonts. 0 is the smallest and 6 is the biggest") );
#if defined(_IRR_COMPILE_WITH_DIRECT3D_9_) && (defined(_M_ARM64) || defined(_M_ARM)) #if defined(_IRR_COMPILE_WITH_DIRECT3D_9_) && defined(_M_ARM)
PARAM_PREFIX StringUserConfigParam m_render_driver PARAM_PREFIX StringUserConfigParam m_render_driver
PARAM_DEFAULT( StringUserConfigParam("directx9", "render_driver", PARAM_DEFAULT( StringUserConfigParam("directx9", "render_driver",
&m_video_group, "Render video driver to use, at the moment gl or directx9 is supported.") ); &m_video_group, "Render video driver to use, at the moment gl, vulkan or directx9 is supported.") );
#else #else
PARAM_PREFIX StringUserConfigParam m_render_driver PARAM_PREFIX StringUserConfigParam m_render_driver
PARAM_DEFAULT( StringUserConfigParam("gl", "render_driver", PARAM_DEFAULT( StringUserConfigParam("gl", "render_driver",
&m_video_group, "Render video driver to use, at the moment gl or directx9 is supported.") ); &m_video_group, "Render video driver to use, at the moment gl, vulkan or directx9 is supported.") );
#endif #endif
#if defined(MOBILE_STK) #if defined(MOBILE_STK)