From eccb722d20573e17f2ebbc33da9eb29b3a1ff9b3 Mon Sep 17 00:00:00 2001 From: dcnieho Date: Wed, 27 Feb 2013 07:07:55 +0000 Subject: [PATCH] demo glutSetCursor git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1519 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c b/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c index 1252482..ff19b91 100644 --- a/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c +++ b/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c @@ -686,8 +686,9 @@ main(int argc, char *argv[]) glClearColor(0.7f, 0.7f, 0.7f, 1.0); - /* callbacks and menus for this window */ + /* callbacks, settings and menus for this window */ SetWindowCallbacks( 0 ); + glutSetCursor(GLUT_CURSOR_CROSSHAIR); /* Cursors are per window */ glutSetMenu(subMenuA); glutAttachMenu( GLUT_RIGHT_BUTTON );