Hi Sukender,

There isn't an API for querying all supported resolutions, just an API
for getting the current screen resolution and setting the screen
resolution. See osg::WindowingSystemInterface object that provides
glue between the OSG and the underlying implementations of the
windowing system (provided by src/osgViewer/GraphicsWindowWin32.cpp,
GraphicsWindowX11.cpp and GraphicsWindowCarbo.cpp).

Robert.

On Mon, Dec 15, 2008 at 8:21 AM, Sukender <suky0...@free.fr> wrote:
> Hi all,
>
> Almost everything is in the title... I just can't find info on enumerating 
> supported (full) screen resolutions. Do you have an idea?
> I guess I can try switching to all usual resolutions and see if they are 
> supported or not, but that's really too slow and too ugly.
> Thanks!
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to