Open CuriousMike56 opened 1 year ago
Not sure, but i can't find anything "Rendering Device" related for OpenGL, its there only for DirectX.
https://github.com/OGRECave/ogre/search?q=%22Rendering+Device%22
Hello how do I get in
Searching a bit on internet it seems it's not impossible only in ogre, but in OpenGL itself.
While experimenting with something else, I noticed this:
17:50:01: GLRenderSystem::_createRenderWindow "Rigs of Rods version 2024.03-dev-a35a9d8", 2560x1440 windowed miscParams: FSAA=0 border=fixed gamma=No monitorIndex=0 vsync=Yes windowProc=140715610345376
https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/AppContext.cpp#L296
monitorIndex
defaults to 0
on both D3D9 and OpenGL. Forcing it to 1
in code enables OpenGL to launch on my primary monitor:
//miscParams["monitorIndex"] = Ogre::StringConverter::toString(idx);
miscParams["monitorIndex"] = "1";
So it looks like a monitor index override could be added to OpenGL renderer settings.
OpenGL lacks a rendering device/display output setting:
Direct3D9 for comparison:
This is a problem for multi-monitor setups as in my case the game window spawns on the wrong display.