getDesktopResolution on OS X returns (0, 0)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

getDesktopResolution on OS X returns (0, 0)

Post by hendu »

Using irrlicht 1.7 branch, getDesktopResolution from the NULL driver returns 0, 0. Trunk has the same code for setting the desktop size on OS X.

I will have to check the OS X version (I'm not the mac guy, second hand info; it's 10.6 or 10.7 anyway), but is this a known bug?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: getDesktopResolution on OS X returns (0, 0)

Post by hendu »

Found this:
http://irrlicht.sourceforge.net/forum/v ... =7&t=44508

Which has the same problem and a solution. Sadly I can't test it, and I assume the irr team can't either since that's four months old.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: getDesktopResolution on OS X returns (0, 0)

Post by Nadro »

Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Post Reply