diff options
| author | realtradam <[email protected]> | 2023-01-01 22:52:32 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-01-01 22:52:32 -0500 |
| commit | a7473499c197835fd49f040bda89b91176418bb0 (patch) | |
| tree | e1d2cc7d2c36ce3c5b028a933428e1bf8efd7ec9 /src | |
| parent | bebf2cefe734d154ffaae44fb7c1bb557f2e1bfa (diff) | |
| download | RodeoKit-a7473499c197835fd49f040bda89b91176418bb0.tar.gz RodeoKit-a7473499c197835fd49f040bda89b91176418bb0.zip | |
switch to SDL2
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
