early-access version 1780

This commit is contained in:
pineappleEA
2021-06-11 20:56:03 +02:00
parent e46a402c25
commit 388881fdbb
93 changed files with 2410 additions and 851 deletions

View File

@@ -92,7 +92,11 @@ PrintJoystick(SDL_Joystick *joystick)
static void
DrawRect(SDL_Renderer *r, const int x, const int y, const int w, const int h)
{
const SDL_Rect area = { x, y, w, h };
SDL_Rect area;
area.x = x;
area.y = y;
area.w = w;
area.h = h;
SDL_RenderFillRect(r, &area);
}