mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-12-13 22:08:48 +00:00
testgeometry.c: fix build in c89 mode
This commit is contained in:
parent
ca39f6d6cd
commit
f5c0cdea38
@ -140,13 +140,13 @@ loop()
|
||||
|
||||
{
|
||||
SDL_Rect viewport;
|
||||
SDL_Vertex verts[3];
|
||||
double a;
|
||||
double d;
|
||||
int cx, cy;
|
||||
|
||||
/* Query the sizes */
|
||||
SDL_RenderGetViewport(renderer, &viewport);
|
||||
SDL_Vertex verts[3];
|
||||
SDL_zeroa(verts);
|
||||
cx = viewport.x + viewport.w / 2;
|
||||
cy = viewport.y + viewport.h / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user