src/render/SDL_sysrender.h
changeset 7141 e276777b4247
parent 7011 82bbfbbc720e
child 7239 04dda95ba22c
     1.1 --- a/src/render/SDL_sysrender.h	Fri May 03 14:11:41 2013 +0930
     1.2 +++ b/src/render/SDL_sysrender.h	Sat May 04 04:46:00 2013 -0700
     1.3 @@ -93,6 +93,7 @@
     1.4      void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
     1.5      int (*SetRenderTarget) (SDL_Renderer * renderer, SDL_Texture * texture);
     1.6      int (*UpdateViewport) (SDL_Renderer * renderer);
     1.7 +    int (*UpdateClipRect) (SDL_Renderer * renderer);
     1.8      int (*RenderClear) (SDL_Renderer * renderer);
     1.9      int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_FPoint * points,
    1.10                               int count);
    1.11 @@ -133,6 +134,10 @@
    1.12      SDL_Rect viewport;
    1.13      SDL_Rect viewport_backup;
    1.14  
    1.15 +    /* The clip rectangle within the window */
    1.16 +    SDL_Rect clip_rect;
    1.17 +    SDL_Rect clip_rect_backup;
    1.18 +
    1.19      /* The render output coordinate scale */
    1.20      SDL_FPoint scale;
    1.21      SDL_FPoint scale_backup;