aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-16 13:36:48 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-16 13:36:48 +0000
commit84fff4d373d10a3676e239c02e759cffff5b5cf2 (patch)
tree395fb5983fe22922d18e718b685fcc643c5724e7 /lib
parentee0835dc2cf1a2bd2e01be15020c2bf8d76e6836 (diff)
downloadenigma2-84fff4d373d10a3676e239c02e759cffff5b5cf2.tar.gz
enigma2-84fff4d373d10a3676e239c02e759cffff5b5cf2.zip
small fix
Diffstat (limited to 'lib')
-rw-r--r--lib/gdi/grc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp
index a9bac4af..274d221b 100644
--- a/lib/gdi/grc.cpp
+++ b/lib/gdi/grc.cpp
@@ -125,7 +125,8 @@ void *gRC::thread()
m_notify_pump.send(1);
}
#ifndef SYNC_PAINT
- pthread_cond_wait(&cond, &mutex);
+ while(rp == wp)
+ pthread_cond_wait(&cond, &mutex);
pthread_mutex_unlock(&mutex);
#endif
}