-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lucas Goss wrote: > > Hmm, that might be alright, though I don't really like writing shell > scripts, haha. Of course if that is an advantage for some they can > still do it that way, they don't have to use OSG's implementation. But > it would be nice to have an implementation still, as OSG provides an > interface for it and those that want a quick way of resolution > changing without messing with shell scripts can get it there. >
The reason for SDL's craziness and why I have suggested a shell script is easy - you can make a some kind of X hack that works on your computer using one extension, but I compile the program on my computer and it is very likely that either the resolution is not available, the extension is not available/working with my X and driver or some other weird problem happens. In that case relying on external (and supposedly working) tools can save your bacon. I wouldn't like to have to implement resolution switching logic for X having to juggle X11 calls to the older extensions, newer RandR stuff (that is incompatible with them) and most recently the various OpenGL compositing managers like Compiz, where the situation is yet different (you could be running on a nested X server and your application calls are actually proxied). Are you ready to handle all of this? Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFHZsw2n11XseNj94gRAlE6AJ9GPz2UCa2Gf2ha2OALHCtj+RlLnACgiZNc 06tH32ylbosbDgEjuFsvwOw= =nZvm -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

