diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/utils.c b/src/utils.c deleted file mode 100644 index 35bd0a9..0000000 --- a/src/utils.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "utils.h" - - -SDL_Texture *load_texture(SDL_Renderer *renderer, const char *path) -{ - SDL_Surface *s = SDL_LoadBMP(path); - SDL_Texture *res = SDL_CreateTextureFromSurface(renderer, s); - SDL_FreeSurface(s); - return res; -} |