Merge pull request #578 from Azaezel/alpha40/dedicatedGFXnullouts

dedicated gfx device suppression
This commit is contained in:
Brian Roberts 2021-09-19 01:57:22 -05:00 committed by GitHub
commit 2fe767f2cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 12 deletions

View file

@ -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);
}