X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=31eff0e3ffdd3fdbf6f39e1606596f0928202ac0;hp=ccb5dacb98929afdf7e2ddd2f5354ae45434218a;hb=36aa202c760cb524f105a465007983f224cb97e3;hpb=c87c77dde75fb3b1699bafee8866aa49dd627b23 diff --git a/scene.c b/scene.c index ccb5dac..31eff0e 100644 --- a/scene.c +++ b/scene.c @@ -206,6 +206,8 @@ void mouse(int button, int state, int x, int y) { } else if ( state == GLUT_UP ) { buttonSelected = -1; } + startx = x; + starty = y; break; } }