summaryrefslogtreecommitdiffstats
path: root/src/freeglut-test.c
blob: aaa2d73c19304f184f52e41028f0239b28f4f2f7 (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 MXE.                   */
/* 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);
}