Removed the mouse polling delay.
This commit is contained in:
@@ -167,14 +167,9 @@ mouse_set_buttons(int buttons)
|
||||
void
|
||||
mouse_process(void)
|
||||
{
|
||||
static int poll_delay = 2;
|
||||
|
||||
if (mouse_curr == NULL)
|
||||
return;
|
||||
|
||||
if (--poll_delay)
|
||||
return;
|
||||
|
||||
mouse_poll();
|
||||
|
||||
if ((mouse_dev_poll != NULL) || (mouse_curr->poll != NULL)) {
|
||||
@@ -186,8 +181,6 @@ mouse_process(void)
|
||||
/* Reset mouse deltas. */
|
||||
mouse_x = mouse_y = mouse_z = 0;
|
||||
}
|
||||
|
||||
poll_delay = 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user