Files
CMake/Tests/FindGLUT/Test/main.c
2023-10-26 09:20:45 -04:00

12 lines
257 B
C

#include <GL/glut.h>
#include <stdio.h>
int main(void)
{
/* The following should call exit(1) and print
freeglut ERROR: Function <glutCreateWindow> called
without first calling 'glutInit'.
to stderr */
glutCreateWindow("gluttest");
}