src/render/SDL_sysrender.h
changeset 8477 ad08f0d710f3
parent 8460 f483e8bdae3c
parent 7240 39eb4958950a
child 8535 e8ee0708ef5c
     1.1 --- a/src/render/SDL_sysrender.h	Sat Jun 08 14:34:09 2013 -0400
     1.2 +++ b/src/render/SDL_sysrender.h	Mon Aug 12 22:29:55 2013 -0400
     1.3 @@ -78,6 +78,7 @@
     1.4      const void *magic;
     1.5  
     1.6      void (*WindowEvent) (SDL_Renderer * renderer, const SDL_WindowEvent *event);
     1.7 +    int (*GetOutputSize) (SDL_Renderer * renderer, int *w, int *h);
     1.8      int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
     1.9      int (*SetTextureColorMod) (SDL_Renderer * renderer,
    1.10                                 SDL_Texture * texture);
    1.11 @@ -93,6 +94,7 @@
    1.12      void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
    1.13      int (*SetRenderTarget) (SDL_Renderer * renderer, SDL_Texture * texture);
    1.14      int (*UpdateViewport) (SDL_Renderer * renderer);
    1.15 +    int (*UpdateClipRect) (SDL_Renderer * renderer);
    1.16      int (*RenderClear) (SDL_Renderer * renderer);
    1.17      int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_FPoint * points,
    1.18                               int count);
    1.19 @@ -121,7 +123,6 @@
    1.20      /* The window associated with the renderer */
    1.21      SDL_Window *window;
    1.22      SDL_bool hidden;
    1.23 -    SDL_bool resized;
    1.24  
    1.25      /* The logical resolution for rendering */
    1.26      int logical_w;
    1.27 @@ -133,6 +134,10 @@
    1.28      SDL_Rect viewport;
    1.29      SDL_Rect viewport_backup;
    1.30  
    1.31 +    /* The clip rectangle within the window */
    1.32 +    SDL_Rect clip_rect;
    1.33 +    SDL_Rect clip_rect_backup;
    1.34 +
    1.35      /* The render output coordinate scale */
    1.36      SDL_FPoint scale;
    1.37      SDL_FPoint scale_backup;