sdl2 now working again I think, but with better cmake

This commit is contained in:
herbglitch 2024-02-08 17:47:32 -07:00
parent c822075173
commit 3e15b6dfd0
16 changed files with 78 additions and 52 deletions

View file

@ -1,7 +1,7 @@
#ifndef ARC_SDL_WINDOW_H_
#define ARC_SDL_WINDOW_H_
#ifdef ARC_SDL
#ifdef ARC_SDL2_GRAPHICS
#include "arc/graphics/window.h"
#include <SDL.h>
@ -21,6 +21,6 @@ struct ARC_WindowInfo {
Uint32 flags;
};
#endif // !ARC_SDL
#endif // !ARC_SDL2_GRAPHICS
#endif // !ARC_SDL_WINDOW_H_