summaryrefslogtreecommitdiffstats
path: root/src/glut/dos/init.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-03-08 18:28:14 +0000
committerBrian Paul <[email protected]>2003-03-08 18:28:14 +0000
commit47d8adde43c71f32d3677bb8ad965f262b6f3150 (patch)
tree30e25ff1b2789c0c5c3b5f9bfe23e2f582253010 /src/glut/dos/init.c
parentf4b21ab6458db9df6ef320cbefab7c05ea80e7ea (diff)
DOS update (Daniel Borca)
Diffstat (limited to 'src/glut/dos/init.c')
-rw-r--r--src/glut/dos/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glut/dos/init.c b/src/glut/dos/init.c
index 6c034ff5e2b..9553cf2532e 100644
--- a/src/glut/dos/init.c
+++ b/src/glut/dos/init.c
@@ -19,7 +19,7 @@
*/
/*
- * DOS/DJGPP glut driver v1.3 for Mesa 5.0
+ * DOS/DJGPP glut driver v1.3 for Mesa
*
* Copyright (C) 2002 - Borca Daniel
* Email : [email protected]
@@ -152,10 +152,11 @@ void APIENTRY glutMainLoop (void)
if (g_mouse) {
int mouse_x;
int mouse_y;
+ int mouse_z;
int mouse_b;
/* query mouse */
- mouse_b = pc_query_mouse(&mouse_x, &mouse_y);
+ mouse_b = pc_query_mouse(&mouse_x, &mouse_y, &mouse_z);
/* relative to window coordinates */
g_mouse_x = mouse_x - g_curwin->xpos;