summaryrefslogtreecommitdiffstats
path: root/menu_demo/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu_demo/main.c')
-rw-r--r--menu_demo/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/menu_demo/main.c b/menu_demo/main.c
index d802e4c..68180ef 100644
--- a/menu_demo/main.c
+++ b/menu_demo/main.c
@@ -4,6 +4,8 @@
#endif
#include <stdlib.h>
+#include <stdio.h>
+
#include <GL/gl.h>
#include <GL/glut.h>
@@ -100,6 +102,9 @@ int main(int argc, char **argv)
init_gl();
MenuInit(SCREEN_WIDTH, SCREEN_HEIGHT);
+ glutEstablishOverlay();
+ printf("Overlay %d\n", glutLayerGet(GLUT_OVERLAY_POSSIBLE));
+
glutMainLoop();
return 0;