fixed: nothing happens on osx 10.6

This commit is contained in:
Nick Bolton 2014-02-17 19:38:26 +00:00
parent 5bb7a9fc7c
commit 75d2c5abf1
11 changed files with 38 additions and 40 deletions

View file

@ -96,6 +96,8 @@ CEventQueue::~CEventQueue()
void
CEventQueue::loop()
{
m_buffer->init();
CEvent event;
getEvent(event);
while (event.getType() != CEvent::kQuit) {
@ -594,9 +596,3 @@ CEventQueue::CTimer::operator<(const CTimer& t) const
{
return m_time < t.m_time;
}
void
CEventQueue::cacheCurrentEventQueueRef()
{
m_buffer->cacheCurrentEventQueueRef();
}