diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | src/pig.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ paths on argv as such: If the files don't exist or are otherwise unusable, pig will just skip running the shader but continue drawing a checkered bg with -the variables changing as usual. Shaders get reloaded every .1s, +the variables changing as usual. Shaders get reloaded every 1s, so you may edit them in your text editor of choice while watching the output. @@ -63,7 +63,7 @@ static void pig_uniforms_func(shader_t *shader, void *uniforms_ctxt, void *rende unsigned t0, t1; float r = randf(); - if (play_ticks_elapsed(play, PLAY_TICKS_TIMER2, 100)) + if (play_ticks_elapsed(play, PLAY_TICKS_TIMER2, 1000)) shader_reload_files(shader); /* this one just keeps increasing */ |