Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#44 glutInit check

closed
nobody
Easy (28)
5
2007-09-18
2005-09-28
Anonymous
No

Since glutInit should be called exactly once per
application it would be very useful if there was a way
to query if it was called. On the standard glut, you
could call glutGetWindow() which would return 0 to
indicate that glut wasn't initialized. In freeglut,
this causes an error: "Function <glutGetWindow> call
without first calling glutInit"

Discussion

  • John F. Fay
    John F. Fay
    2007-09-18

    Logged In: YES
    user_id=70811
    Originator: NO

    Fixed in changeset [718]

     
  • John F. Fay
    John F. Fay
    2007-09-18

    • status: open --> closed