Browse Source

* Fixed bug in events with GL driver

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 19 years ago
parent
commit
895adf52f3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/event.c

+ 2
- 1
src/event.c View File

@@ -769,6 +769,7 @@ static unsigned int _lowlevel_event(void)
event |= CACA_EVENT_KEY_PRESS;
event |= gl_key;
gl_key = 0;
return event;
}

if(gl_special_key != 0)
@@ -796,7 +797,7 @@ static unsigned int _lowlevel_event(void)
default: return CACA_EVENT_NONE;
}
}
return event;
return CACA_EVENT_NONE;
}
else
#endif


Loading…
Cancel
Save