Mac OS X fullscreen capping

Hello,

I’m tinkering around with the LWJGL port to the mac, this time cooperating with AWT in hope of getting things to run a little smoother. However, I’ve stumpled upon one peculiar problem in Mac OS X fullscreen mode:

No mode larger than 800600 works. 640480 and 800600 works, but if I pass any other java.awt.DisplayMode (from the GraphicsDevice.getDisplayModes() array) to GraphicsDevice.setDisplayMode it silently caps the mode to 800600. I tried with the standard fullscreen example at:

http://java.sun.com/docs/books/tutorial/extra/fullscreen/example-1dot4/DisplayModeTest.java

and it exhibits the same behaviour (when switching to modes beyond 800600, the controls are not resized to fit the screen anymore, and my monitor reports 800600 as the current mode)

I’m using Mac OS X 10.3.6 (tried 10.3.5) on a dual G5 powermac with an NVIDIA 5200 Ultra card. Any pointers from the mac experts (for example, how does JOGL handle fullscreen on the mac)?

  • elias

I run 1280*1024 normally, and that fullscreen mode works if you never call GraphicsDevice.setDisplayMode. As soon as you change the mode, it will be capped though.

  • elias