demo glutSetCursor

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1519 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-02-27 07:07:55 +00:00
parent 9652d57d4f
commit eccb722d20

View File

@ -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 );