aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_Init.c
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-05-11 00:58:42 +0200
committerkdx <kikoodx@paranoici.org>2023-05-11 01:07:06 +0200
commit378f0a3965c917b0491e2b30938684584bb754f5 (patch)
tree06ce44e334998d6df5841dfebe5675e025896da4 /sources/TZR_Init.c
parent96b15868d306c8b3ded01fad8c37dc964baa767d (diff)
downloadtzr-378f0a3965c917b0491e2b30938684584bb754f5.tar.gz
drop sdl image dependency
Diffstat (limited to 'sources/TZR_Init.c')
-rw-r--r--sources/TZR_Init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sources/TZR_Init.c b/sources/TZR_Init.c
index a10c2fb..316c8b8 100644
--- a/sources/TZR_Init.c
+++ b/sources/TZR_Init.c
@@ -2,7 +2,6 @@
#include "TZR_globals.h"
#include "sdl_error.h"
#include <SDL2/SDL.h>
-#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#include <SDL2/SDL_mouse.h>
#include <unistd.h>
@@ -22,8 +21,6 @@ _TZR_Init(const TZR_Config *config)
if (SDL_Init(SDL_INIT_VIDEO) < 0)
return _sdl_error();
- if (IMG_Init(IMG_INIT_PNG * ___tzr_config.png_loading) < 0)
- return _sdl_error();
if (___tzr_config.mixer == TZR_MIXER_FLAC &&
Mix_Init(MIX_INIT_FLAC) != MIX_INIT_FLAC)
{