summaryrefslogtreecommitdiffstats
path: root/src/freeglut-test.c
blob: 254230b6ac1efda9521f5ab4786dabd5219faf6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <GL/glut.h>

#include <stdio.h>

int main(int argc, char *argv[])
{
    glutInit(&argc, argv);
    glutInitWindowSize(640,480);
    glutInitWindowPosition(10,10);
    glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
 
    glutCreateWindow("FreeGLUT Shapes");

    glutMainLoop();
 
    return(0);
}