blob: 1c8569c1290c45b915a4c875bb0ca551f78ff0be (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <GL/glut.h>
#include <stdio.h>
int main()
{
/* The following should call exit(1) and print
freeglut ERROR: Function <glutCreateWindow> called
without first calling 'glutInit'.
to stderr */
glutCreateWindow("gluttest");
}
|