mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 06:33:49 +00:00
dedicated gfx device surpression
augments $Video::forceDisplayAdapter = -1; to force usage of GFXAdapterType::NullDevice skips trying to open a splash window for dedicated servers bypasses guicanvas window display if window does not exist
This commit is contained in:
parent
328319b853
commit
98a4e7fb12
3 changed files with 18 additions and 12 deletions
|
|
@ -290,7 +290,7 @@ GFXAdapter *GFXInit::getBestAdapterChoice()
|
|||
{
|
||||
S32 adapterIdx = dAtoi(adapterDevice.c_str());
|
||||
if (adapterIdx == -1)
|
||||
adapter = chooseAdapter(adapterType, outputDevice.c_str());
|
||||
adapter = chooseAdapter(NullDevice, outputDevice.c_str());
|
||||
else
|
||||
adapter = chooseAdapter(adapterType, adapterIdx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue