diff options
Diffstat (limited to 'src/demoscene-eo.c')
-rw-r--r-- | src/demoscene-eo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demoscene-eo.c b/src/demoscene-eo.c index ed6fe1b..1c532be 100644 --- a/src/demoscene-eo.c +++ b/src/demoscene-eo.c @@ -159,7 +159,7 @@ int parent() { case 2: res = scene02_init_caca(&shm->ge, &shm->s02e); break; } // If scene init fail, skip to the next one - if (res) SCENE_NEXT; else lastscene = shm->scene; + if (res) { printf("scene%02i_init_caca() returned %i\n", shm->scene, res); SCENE_NEXT; } else lastscene = shm->scene; } shm->ge.sdl_ticks = SDL_GetTicks(); // This value wraps if the program runs for more than ~49 days @@ -288,7 +288,7 @@ int worker_sdl() { case 2: res = scene02_init_sdl(&shm->ge, &shm->s02e); break; } // If scene init fail, skip to the next one - if (res) SCENE_NEXT; else lastscene = shm->scene; + if (res) { printf("scene%02i_init_sdl() returned %i\n", shm->scene, res); SCENE_NEXT; } else lastscene = shm->scene; } // Compute current scene frame (sdl part) switch(shm->scene) { @@ -413,7 +413,7 @@ int worker_gl() { case 2: res = scene02_init_gl(&shm->ge, &shm->s02e); break; } // If scene init fail, skip to the next one - if (res) SCENE_NEXT; else lastscene = shm->scene; + if (res) { printf("scene%02i_init_gl() returned %i\n", shm->scene, res); SCENE_NEXT; } else lastscene = shm->scene; } // Compute current scene frame (gl part) |