No more SDL_Renderer lets fucking gooo

This commit is contained in:
/nick haya 2022-02-16 08:47:39 +08:00
parent 98dee3e698
commit 9802d9d4da
22 changed files with 3774 additions and 896 deletions

View file

@ -36,8 +36,10 @@ THE SOFTWARE.
#include "SDL.h"
#include "SDL_ttf.h"
#define FC_USE_SDL_GPU
#ifdef FC_USE_SDL_GPU
#include "SDL_gpu.h"
#include "../SDL_gpu/SDL_gpu.h"
#endif
@ -51,8 +53,6 @@ extern "C" {
// Let's pretend this exists...
#define TTF_STYLE_OUTLINE 16
// Differences between SDL_Renderer and SDL_gpu
#ifdef FC_USE_SDL_GPU
#define FC_Rect GPU_Rect