Fullscreen resolution

Hi :slight_smile:

How do you change the fullscreen resolution? cinder::app::FullScreenOptions has no mention of it, neither does cinder::Display.

Hi,

Cinder does not support changing the screen resolution from software, as on most platforms this is advised against for user experience reasons. It’s usually better to simply scale your graphics, which is pretty easy in OpenGL. If you insist on changing the resolution (temporarily), use platform specific code. On Windows, simply #include "cinder/msw/CinderMsw.h" to get access to all Windows-only functions.

-Paul

On OS X you can use core graphics to change screen resolution.

https://developer.apple.com/reference/coregraphics/1455235-cgbegindisplayconfiguration?language=objc

Like Paul says, platform specific…

1 Like