From a7473499c197835fd49f040bda89b91176418bb0 Mon Sep 17 00:00:00 2001 From: realtradam Date: Sun, 1 Jan 2023 22:52:32 -0500 Subject: switch to SDL2 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 567492f..df1ac41 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,7 @@ #include #include #include "lib/lib.h" -#include "SDL3/SDL.h" +#include "SDL2/SDL.h" const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; @@ -35,7 +35,7 @@ main() { screenSurface = SDL_GetWindowSurface(window); - SDL_FillSurfaceRect( + SDL_FillRect( screenSurface, NULL, SDL_MapRGB(screenSurface->format, 0xFF, 0xFF, 0xFF) -- cgit v1.2.3