From: Ian Romanick Date: Tue, 24 Oct 2006 20:50:08 +0000 (+0000) Subject: Add missing call to glutInit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4298b94927f12c4710443ede1b50a325103ac72;p=mesa.git Add missing call to glutInit. --- diff --git a/progs/demos/cubemap.c b/progs/demos/cubemap.c index 0a59b989835..ef5d2355509 100644 --- a/progs/demos/cubemap.c +++ b/progs/demos/cubemap.c @@ -454,6 +454,7 @@ static void usage(void) int main( int argc, char *argv[] ) { + glutInit(&argc, argv); glutInitWindowPosition(0, 0); glutInitWindowSize(600, 500); glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );