On Fri, Dec 18, 2009 at 12:43 PM, Ian Romanick <i...@freedesktop.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Brian Paul wrote: >> This patch changes most of the progs/demos/ so that >> 1. windows aren't hard-positioned at 0,0 >> 2. the -geometry option can be used to override the default window >> size/position >> >> I'll commit this later if there's no concerns. > > Is it actually valid to call any GLUT functions before calling glutInit? > I thought you had to call that first so that the library could > boot-strap itself.
Yes, it's safe to call glutInitWindowPosition/Size() before glutInit(). They just set global vars. I checked both Mesa's GLUT and freeglut. -Brian ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev