Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

change between FULLSCREEN/WINDOW mode?

Using GLFW
2005-01-31
2012-11-08
  • Is there a way to change between these modes in the windows implementation?

    augusto camarrotti

     
    • 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.

       
    • Thanks Marcus.

      I guess this will do for me.

      Augusto Camarotti