[1.12.10] getDisplayMonitorCount() deprecated, any alternatives? Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
mgiordano
Gnoblar
Posts: 17
Joined: Tue Jan 10, 2012 8:49 pm
x 2

[1.12.10] getDisplayMonitorCount() deprecated, any alternatives?

Post by mgiordano »

Ogre Version: 1.12.10
Operating System: Windows 10
Render System: DX11

The following function is marked as deprecated with a comment "do not use" and merely returns 1 for DX11. Does Ogre have an alternative for DX11 or do I need to implement it myself with platform specific API calls, etc.?

Code: Select all

Ogre::RenderSystem::getDisplayMonitorCount() const
Thanks!
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: [1.12.10] getDisplayMonitorCount() deprecated, any alternatives?

Post by paroj »

mgiordano wrote: Sat Feb 06, 2021 3:11 am do I need to implement it myself with platform specific API calls, etc.?
yes. This was only ever implemented for D3D9 and nowadays SDL2 is the better place for stuff like this.
Post Reply