summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
#include <stdbool.h>
#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)