Hi Art,

On Sun, Nov 30, 2008 at 3:59 PM, Art Tevs <[EMAIL PROTECTED]> wrote:
> Shouldn't then the method, which scales the viewport, take care of casting?
> Because based on OpenGL Specification viewport is per definition an integer 
> value.

Not quite, it's not about passing data to OpenGL, it's about handling
resizing down and back up again of viewports, if you do this with
int's then you can never recover the original size of the viewport
because of rounding.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to