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,4 +1,4 @@
#ifdef ARC_SDL
#ifdef ARC_SDL2_GRAPHICS
#include "arc/graphics/rectangle.h"
#include "arc/graphics/sdl/renderer.h"
#include <stdlib.h>
@ -23,4 +23,4 @@ void ARC_FRect_RenderFill(ARC_FRect *rect, ARC_Renderer *renderer, ARC_Color *co
ARC_Rect_RenderFill(&casted, renderer, color);
}
#endif // ARC_SDL
#endif // ARC_SDL2_GRAPHICS