Prepare for SDL3 support

This commit is contained in:
Cameron Gutman
2025-01-25 16:18:45 -06:00
parent edd7a134d8
commit dd2a99a96b
25 changed files with 101 additions and 47 deletions
+1 -12
View File
@@ -1,17 +1,6 @@
#pragma once
#include <SDL.h>
// SDL_FRect wasn't added until 2.0.10
#if !SDL_VERSION_ATLEAST(2, 0, 10)
typedef struct SDL_FRect
{
float x;
float y;
float w;
float h;
} SDL_FRect;
#endif
#include "SDL_compat.h"
class StreamUtils
{