Fix SDL_Headers.hpp

This commit is contained in:
2025-07-19 21:29:31 -05:00
parent 01375140dd
commit 40a9947a65

View File

@@ -1,4 +1,6 @@
#pragma once #pragma once
#include "../TessesFrameworkFeatures.h"
#if defined(TESSESFRAMEWORK_ENABLE_SDL2)
#define SDL_MAIN_HANDLED #define SDL_MAIN_HANDLED
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#if defined(TESSESFRAMEWORK_FETCHCONTENT) #if defined(TESSESFRAMEWORK_FETCHCONTENT)
@@ -7,4 +9,5 @@
#else #else
#include <SDL2/SDL_image.h> #include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h> #include <SDL2/SDL_ttf.h>
#endif
#endif #endif