mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 23:45:14 +02:00
- small update to event pump
This commit is contained in:
@@ -165,10 +165,9 @@ void PumpSDLEventsTaskThread::execute() {
|
|||||||
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"SDL_PumpEvents thread is running\n");
|
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"SDL_PumpEvents thread is running\n");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
unsigned int idx = 0;
|
|
||||||
for(;getQuitStatus() == false;) {
|
for(;getQuitStatus() == false;) {
|
||||||
SDL_PumpEvents();
|
SDL_PumpEvents();
|
||||||
sleep(100);
|
sleep(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
Reference in New Issue
Block a user