comparison src/render/SDL_sysrender.h @ 5229:2178ffe17222

Added function SDL_RenderSetClipRect()
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Feb 2011 20:06:26 -0800
parents 115fff0641ee
children 710d00cb3a6a
comparison
equal deleted inserted replaced
5228:ab0d7cecc0f6 5229:2178ffe17222
76 const SDL_Rect * rect, const void *pixels, 76 const SDL_Rect * rect, const void *pixels,
77 int pitch); 77 int pitch);
78 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 78 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
79 const SDL_Rect * rect, void **pixels, int *pitch); 79 const SDL_Rect * rect, void **pixels, int *pitch);
80 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 80 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
81 void (*SetClipRect) (SDL_Renderer * renderer, const SDL_Rect *rect);
81 int (*RenderClear) (SDL_Renderer * renderer); 82 int (*RenderClear) (SDL_Renderer * renderer);
82 int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_Point * points, 83 int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_Point * points,
83 int count); 84 int count);
84 int (*RenderDrawLines) (SDL_Renderer * renderer, const SDL_Point * points, 85 int (*RenderDrawLines) (SDL_Renderer * renderer, const SDL_Point * points,
85 int count); 86 int count);