small cleanups cus I felt like it

This commit is contained in:
2022-11-16 03:00:20 +11:00
parent f4863ff56a
commit fc9a6571ec
4 changed files with 19 additions and 27 deletions

4
draw.c
View File

@ -18,9 +18,9 @@ void QuitDraw(void)
}
rect GetDrawSizeInPixels(void)
size GetDrawSizeInPixels(void)
{
rect out = {0, 0, 0, 0};
size out = {0, 0};
SDL_GetRendererOutputSize(rend, &out.w, &out.h);
return out;
}