HI Serge,

On 5/10/07, Serge Lages <[EMAIL PROTECTED]> wrote:

Should it be possible to make a agnostic method for it into GraphicsWindow
(which return a void *) ?


I'm against this as its open to misuse.

Doing a dynamic cast to the platform specific GraphicsWindow implementation
is the robust way to get the platform specific info you want.  Each
different platform can potentially have different naming conventions and
data types so keeping this all local to the platform specific subclass I
feel is appropriate.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to