diff options
author | kdx <kikoodx@paranoici.org> | 2023-05-11 00:58:42 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-05-11 01:07:06 +0200 |
commit | 378f0a3965c917b0491e2b30938684584bb754f5 (patch) | |
tree | 06ce44e334998d6df5841dfebe5675e025896da4 /sources/TZR_Init.c | |
parent | 96b15868d306c8b3ded01fad8c37dc964baa767d (diff) | |
download | tzr-378f0a3965c917b0491e2b30938684584bb754f5.tar.gz |
drop sdl image dependency
Diffstat (limited to 'sources/TZR_Init.c')
-rw-r--r-- | sources/TZR_Init.c | 3 |
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) { |