Backed out the viewport and cliprect changes in 9fb5a9ccac
This ended up being lots of application code churn without any real benefit in practice.
This commit is contained in:
1 parent
b2ccfc0b6f
commit
80a907e0e6
28 files changed
+238
-275
No files matched your search
+2
-2
@@ -121,11 +121,11 @@ static void loop(void)
|
||||
SDL_RenderClear(renderer);
|
||||
|
||||
{
|
||||
SDL_FRect viewport;
|
||||
SDL_Rect viewport;
|
||||
SDL_Vertex verts[3];
|
||||
float a;
|
||||
float d;
|
||||
float cx, cy;
|
||||
int cx, cy;
|
||||
|
||||
/* Query the sizes */
|
||||
SDL_GetRenderViewport(renderer, &viewport);
|
||||
|
||||
Reference in new issue
Block a user