diff options
Diffstat (limited to 'src/pig.c')
-rw-r--r-- | src/pig.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -72,10 +72,12 @@ static void randomize_color(v3f_t *color) static void pig_uniforms_func(shader_t *shader, void *uniforms_ctxt, void *render_ctxt, unsigned n_uniforms, const int *uniforms, const m4f_t *model_x, float alpha) { - play_t *play = render_ctxt; - pig_t *pig = uniforms_ctxt; - unsigned t0, t1; - float r = randf(); + play_t *play = render_ctxt; + pig_t *pig = uniforms_ctxt; + unsigned t0, t1; + float r = randf(); + const shader_uniform_t *active_uniforms; + int n_active_uniforms; if (play_ticks_elapsed(play, PLAY_TICKS_TIMER2, 1000)) { if (shader_reload_files(shader) < 0) |