Yeah, would be worth a try, at least.
This is (more or less) how the Ogre config dialog shows its selection:
Code: Select all
Ogre::ConfigOptionMap opts = renderSystem->getConfigOptions();
Ogre::ConfigOptionMap::iterator pOpt = opts.begin();
std::string strLine;
while (pOpt!=opts.end())
{
strLine = pOpt->second.name + ": " + pOpt->second.currentValue;
std::cout << strLine << std::endl;
++pOpt;
}
But this doesn't even show any graphic card. The render device is not shown at all.
When starting up, Ogre shows the name of the device. But it uses the following GL function:
Which (I guess) shows the selected/active one, not the list of possible devices.
How could I get the device name list, then, if not from the RenderSystem?