summaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/os_osx.h')
-rw-r--r--platform/osx/os_osx.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h
index c422eb9223..d9ad0a7db8 100644
--- a/platform/osx/os_osx.h
+++ b/platform/osx/os_osx.h
@@ -52,10 +52,6 @@
class OS_OSX : public OS_Unix {
public:
- enum {
- KEY_EVENT_BUFFER_SIZE = 512
- };
-
struct KeyEvent {
unsigned int osx_state;
bool pressed;
@@ -64,7 +60,7 @@ public:
uint32_t unicode;
};
- KeyEvent key_event_buffer[KEY_EVENT_BUFFER_SIZE];
+ Vector<KeyEvent> key_event_buffer;
int key_event_pos;
bool force_quit;