mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
fix for text layer.
We need to call any closures initally, to provide data back via feed(), before we block waiting on feed() to provide data back.
This commit is contained in:
+6
-1
@@ -140,10 +140,15 @@ void Layer::run() {
|
||||
func("ok, layer %s in rolling loop",get_name());
|
||||
|
||||
running = true;
|
||||
|
||||
func("%s deplaying until feed",get_name());
|
||||
deferred_calls->do_jobs();
|
||||
|
||||
while(!feed()) fps->delay();
|
||||
|
||||
|
||||
func(" layer %s entering loop",get_name());
|
||||
|
||||
|
||||
while(!quit) {
|
||||
|
||||
// process all registered operations
|
||||
|
||||
Reference in New Issue
Block a user