comparison src/video/SDL_sysvideo.h @ 5144:31e7f523ab3d

Making the API simpler, texture color and alpha modulation are supported by all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 23:37:30 -0800
parents da10636e5eca
children 2f44e6969a59
comparison
equal deleted inserted replaced
5143:e743b9c3f6d6 5144:31e7f523ab3d
84 const SDL_Rect * rect, int markDirty, void **pixels, 84 const SDL_Rect * rect, int markDirty, void **pixels,
85 int *pitch); 85 int *pitch);
86 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 86 void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
87 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 87 void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
88 int numrects, const SDL_Rect * rects); 88 int numrects, const SDL_Rect * rects);
89 int (*SetDrawColor) (SDL_Renderer * renderer);
90 int (*SetDrawBlendMode) (SDL_Renderer * renderer);
91 int (*RenderClear) (SDL_Renderer * renderer); 89 int (*RenderClear) (SDL_Renderer * renderer);
92 int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_Point * points, 90 int (*RenderDrawPoints) (SDL_Renderer * renderer, const SDL_Point * points,
93 int count); 91 int count);
94 int (*RenderDrawLines) (SDL_Renderer * renderer, const SDL_Point * points, 92 int (*RenderDrawLines) (SDL_Renderer * renderer, const SDL_Point * points,
95 int count); 93 int count);