Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glfwEnable( GLFW_STICKY_KEYS );
- do{
- // Draw nothing, see you in tutorial 2 !
- // Swap buffers
- glfwSwapBuffers();
- } // Check if the ESC key was pressed or the window was closed
- while( glfwGetKey( GLFW_KEY_ESC ) != GLFW_PRESS &&
- glfwGetWindowParam( GLFW_OPENED ) );
Advertisement
Add Comment
Please, Sign In to add comment