Guest User

C++ Code

a guest
Aug 1st, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. glfwEnable( GLFW_STICKY_KEYS );
  2.  
  3. do{
  4.     // Draw nothing, see you in tutorial 2 !
  5.  
  6.     // Swap buffers
  7.     glfwSwapBuffers();
  8.  
  9. } // Check if the ESC key was pressed or the window was closed
  10. while( glfwGetKey( GLFW_KEY_ESC ) != GLFW_PRESS &&
  11. glfwGetWindowParam( GLFW_OPENED ) );
Advertisement
Add Comment
Please, Sign In to add comment