Default to DirectX 9 driver for ARM64 Windows
This commit is contained in:
parent
6e26a0ad80
commit
92f6158ffd
@ -45,6 +45,8 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include <irrString.h>
|
#include <irrString.h>
|
||||||
|
#include <IrrCompileConfig.h>
|
||||||
|
|
||||||
using irr::core::stringc;
|
using irr::core::stringc;
|
||||||
using irr::core::stringw;
|
using irr::core::stringw;
|
||||||
|
|
||||||
@ -692,9 +694,15 @@ 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)
|
||||||
|
PARAM_PREFIX StringUserConfigParam m_render_driver
|
||||||
|
PARAM_DEFAULT( StringUserConfigParam("directx9", "render_driver",
|
||||||
|
&m_video_group, "Render video driver to use, at the moment gl or directx9 is supported.") );
|
||||||
|
#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 or directx9 is supported.") );
|
||||||
|
#endif
|
||||||
|
|
||||||
// ---- Recording
|
// ---- Recording
|
||||||
PARAM_PREFIX GroupUserConfigParam m_recording_group
|
PARAM_PREFIX GroupUserConfigParam m_recording_group
|
||||||
|
Loading…
Reference in New Issue
Block a user