Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <OpenGL/OpenGL.h>
  2. #include <GLUT/GLUT.h>
  3.  
  4. void display()
  5. {
  6.  
  7. }
  8.  
  9. int main(int argc, char **argv)
  10. {
  11. glutInit( &argc, argv );
  12. glutInitDisplayMode(GLUT_RGBA|GLUT_3_2_CORE_PROFILE);
  13. glutCreateWindow("Hello World");
  14.  
  15. printf("%s",glGetString(GL_VERSION));
  16.  
  17. glutDisplayFunc(display);
  18. glutMainLoop();
  19.  
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement