From 3328cad3e0668ab977e6e152898674028a5c8a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Mon, 29 Jul 2024 09:20:33 +0200 Subject: [PATCH] small changes --- engine/joint/v4k.h | 4 +++- engine/split/v4k_render.c | 4 +++- engine/v4k.c | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index 8bc673b..c38fe7a 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -385438,7 +385438,9 @@ void fx_enable(int pass, int enabled) { postfx_enable(&fx, pass, enabled); } void fx_enable_all(int enabled) { - for( int i = 0; i < array_count(fx.pass); ++i ) fx_enable(i, enabled); + for( int i = 0; i < array_count(fx.pass); ++i ) { + fx_enable(i, enabled); + } } char *fx_name(int pass) { return postfx_name(&fx, pass); diff --git a/engine/split/v4k_render.c b/engine/split/v4k_render.c index 8e10193..647a408 100644 --- a/engine/split/v4k_render.c +++ b/engine/split/v4k_render.c @@ -2789,7 +2789,9 @@ void fx_enable(int pass, int enabled) { postfx_enable(&fx, pass, enabled); } void fx_enable_all(int enabled) { - for( int i = 0; i < array_count(fx.pass); ++i ) fx_enable(i, enabled); + for( int i = 0; i < array_count(fx.pass); ++i ) { + fx_enable(i, enabled); + } } char *fx_name(int pass) { return postfx_name(&fx, pass); diff --git a/engine/v4k.c b/engine/v4k.c index cb12374..6d5754c 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -19962,7 +19962,9 @@ void fx_enable(int pass, int enabled) { postfx_enable(&fx, pass, enabled); } void fx_enable_all(int enabled) { - for( int i = 0; i < array_count(fx.pass); ++i ) fx_enable(i, enabled); + for( int i = 0; i < array_count(fx.pass); ++i ) { + fx_enable(i, enabled); + } } char *fx_name(int pass) { return postfx_name(&fx, pass);