summaryrefslogtreecommitdiffstats
path: root/src/freeglut-test.c
blob: f49d7ae64d5d74d246144584333bcecf611e119b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * This file is part of MXE.
 * See 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);
}