2021-11-20 13:41:27 +01:00
|
|
|
#include <GL/glut.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-04-14 22:45:38 +02:00
|
|
|
int main(void)
|
2021-11-20 13:41:27 +01:00
|
|
|
{
|
|
|
|
/* The following should call exit(1) and print
|
|
|
|
freeglut ERROR: Function <glutCreateWindow> called
|
|
|
|
without first calling 'glutInit'.
|
|
|
|
to stderr */
|
|
|
|
glutCreateWindow("gluttest");
|
|
|
|
}
|