first render
[nexus3d] / src / wsys / wsys_fglut.c
index 8ed49de..2e7640b 100644 (file)
@@ -196,7 +196,7 @@ static void mouse(int bn, int st, int x, int y)
 {
        if(nex_cb.mousebn) {
                int idx = bn - GLUT_LEFT_BUTTON;
-               int press = bn == GLUT_DOWN;
+               int press = st == GLUT_DOWN;
                nex_cb.mousebn(idx, press, x, y, nex_cb.mousebn_cls);
        }
 }