I have a camera drawback and have some legacy OpenGL code that needs
to know the size of the viewport. I've tried various combinations of
Viewer->GetCamera() in the main. And the callback class does not seem
to have anything that can get to the viewport.

Currently I am just using win32 api calls to get the screen
resolution, which works when in full screen mode.

This has got to be so trivial that no one has posted on the subject,
at least that I could find.

Thank you,
Eric
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to