Fix legacy device in switch homebrew
Allow setting it from config.xml
This commit is contained in:
parent
cab25432c2
commit
61bd2a6e70
@ -184,9 +184,7 @@ IrrDriver::IrrDriver()
|
||||
p.DriverType = video::EDT_OPENGL;
|
||||
p.Bits = 24U;
|
||||
p.WindowSize = core::dimension2d<u32>(1280,720);
|
||||
#ifdef FORCE_LEGACY
|
||||
p.ForceLegacyDevice = true;
|
||||
#endif
|
||||
p.ForceLegacyDevice = UserConfigParams::m_force_legacy_device;
|
||||
#else
|
||||
p.DriverType = video::EDT_NULL;
|
||||
p.Bits = 16U;
|
||||
|
Loading…
Reference in New Issue
Block a user