minor watcom build fixes.

This commit is contained in:
Ozkan Sezer committed 2021-05-15 00:22:50 +03:00
1 parent be5356af93
commit 646ddfb782
4 files changed
+20 -4

No files matched your search

+5 -1
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);
}