diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-08 10:49:22 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-08 10:49:22 +0200 |
commit | fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b (patch) | |
tree | f0776a4fc67070b5d83e600fca303e5f9cded9bf /src/scene02.c | |
parent | a5338c572975a82b9efbf95755103176ebbb67a8 (diff) | |
download | demoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.tar.gz demoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.tar.bz2 demoscene-eo-fa84dfb895d5f3965b2c791b477a1dcc6b4eef7b.zip |
TRACE & DEBUG, 80x24x24fps, still troubles with render to texture
Tidy TRACE and DEBUG for cacaserver use or ncurses (no spurious printf).
Switch to 80x24 at 24fps for bandwidth (4 Mbps)
Colors are OK with xterm, but not with gnome-terminal
Diffstat (limited to 'src/scene02.c')
-rw-r--r-- | src/scene02.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/scene02.c b/src/scene02.c index f268f1f..14629ca 100644 --- a/src/scene02.c +++ b/src/scene02.c @@ -46,14 +46,13 @@ void scene02_free_caca(graphical_env_t *ge, scene02_env_t *se) { TRACE("call"); } - int scene02_next_gl(graphical_env_t *ge, scene02_env_t *se) { - static int firsttime=1; TRACE_ONCE("call"); + TRACE_CALL_ONCE; return 0; } int scene02_next_sdl(graphical_env_t *ge, scene02_env_t *se) { - static int firsttime=1; TRACE_ONCE("call"); + TRACE_CALL_ONCE; return 0; } @@ -63,7 +62,7 @@ int scene02_next_caca(graphical_env_t *ge, scene02_env_t *se) { //int w = ge->w, h = ge->h; Uint32 frame = ge->sc_framecount; - static int firsttime=1; TRACE_ONCE("call"); + TRACE_CALL_ONCE; caca_clear_canvas(cv); |