mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
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:
@@ -48,12 +48,12 @@ typedef struct SDL_RenderDriver SDL_RenderDriver;
|
||||
/* Rendering view state */
|
||||
typedef struct SDL_RenderViewState
|
||||
{
|
||||
float pixel_w;
|
||||
float pixel_h;
|
||||
SDL_FRect viewport;
|
||||
int pixel_w;
|
||||
int pixel_h;
|
||||
SDL_Rect viewport;
|
||||
SDL_Rect pixel_viewport;
|
||||
SDL_FRect clip_rect;
|
||||
SDL_Rect pixel_cliprect;
|
||||
SDL_Rect clip_rect;
|
||||
SDL_Rect pixel_clip_rect;
|
||||
SDL_bool clipping_enabled;
|
||||
SDL_FPoint scale;
|
||||
|
||||
|
Reference in New Issue
Block a user