mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fix SDL_Headers.hpp
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user