Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <OpenGL/OpenGL.h>
- #include <GLUT/GLUT.h>
- void display()
- {
- }
- int main(int argc, char **argv)
- {
- glutInit( &argc, argv );
- glutInitDisplayMode(GLUT_RGBA|GLUT_3_2_CORE_PROFILE);
- glutCreateWindow("Hello World");
- printf("%s",glGetString(GL_VERSION));
- glutDisplayFunc(display);
- glutMainLoop();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement