diff options
author | kdx <kikoodx@paranoici.org> | 2023-05-11 00:40:55 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-05-11 00:42:21 +0200 |
commit | 6ab047e30169ebf8f440d87dae68e0fdf6cc239f (patch) | |
tree | 333f4947779e2a5223c7b248b3234ac514ef14f0 /sources/TZR_DrawEnd.c | |
parent | a4112e4311eb226c4f43cb697aa7f6c34bd7b9a5 (diff) | |
download | tzr-6ab047e30169ebf8f440d87dae68e0fdf6cc239f.tar.gz |
depreciate light system
Diffstat (limited to 'sources/TZR_DrawEnd.c')
-rw-r--r-- | sources/TZR_DrawEnd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sources/TZR_DrawEnd.c b/sources/TZR_DrawEnd.c index bc3ce95..d40120a 100644 --- a/sources/TZR_DrawEnd.c +++ b/sources/TZR_DrawEnd.c @@ -36,14 +36,6 @@ TZR_DrawEnd(void) if (SDL_RenderCopy(___tzr_renderer, ___tzr_target, NULL, &dest) < 0) return sdl_error(-1); - if (___tzr_config.light_system) { - if (SDL_SetTextureBlendMode(___tzr_target_light, - SDL_BLENDMODE_MOD) < 0) - return sdl_error(-1); - if (SDL_RenderCopy(___tzr_renderer, ___tzr_target_light, NULL, - &dest) < 0) - return sdl_error(-1); - } if (___tzr_config.target_fps > 0) { ___tzr_next_time += ___tzr_min_dt; |