From 36aa202c760cb524f105a465007983f224cb97e3 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 20:07:00 +0800 Subject: [PATCH] --- scene.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.20.1