added dos timer and double-esc to quit
[retroray] / src / modern / main.c
index 5c90787..601b2ef 100644 (file)
@@ -96,9 +96,9 @@ int main(int argc, char **argv)
        return 0;
 }
 
-long app_getmsec(void)
+unsigned long get_msec(void)
 {
-       return glutGet(GLUT_ELAPSED_TIME);
+       return (unsigned long)glutGet(GLUT_ELAPSED_TIME);
 }
 
 void app_redisplay(int x, int y, int w, int h)