change between FULLSCREEN/WINDOW mode?

Using GLFW
  • Nobody/Anonymous

    Is there a way to change between these modes in the windows implementation?

    augusto camarrotti

    • Marcus Geelnard

      Marcus Geelnard - 2005-02-03

      Yes: glfwCloseWindow() + glfwOpenWindow(), which works on all platforms.

      Remember: this destroys the OpenGL rendering context (i.e. you need to upload textures again etc), as well as the GLFW window context (you need to register callback functions again etc).

      Also see section 2.2 in the GLFW FAQ on the homepage.

    • Augusto Camarotti

      Thanks Marcus.

      I guess this will do for me.

      Augusto Camarotti


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks