summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4a45185)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1552
7f0cb862-5218-0410-a997-
914c9d46530a
/* print warning message */
vprintf(fmt, ap);
/* print warning message */
vprintf(fmt, ap);
/* terminate program, after pause for input so user can see */
printf ( "Please enter something to exit: " );
/* terminate program, after pause for input so user can see */
printf ( "Please enter something to exit: " );
FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutMainLoop" );
FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutMainLoop" );
+ if (!fgStructure.Windows.First)
+ fgError(" ERROR: glutMainLoop called with no windows created.");
+
fgPlatformMainLoopPreliminaryWork ();
fgState.ExecState = GLUT_EXEC_STATE_RUNNING ;
fgPlatformMainLoopPreliminaryWork ();
fgState.ExecState = GLUT_EXEC_STATE_RUNNING ;