comparison src/video/SDL_sysvideo.h @ 1678:90bf530ced8e SDL-1.3

SDL_SetVideoMode() compiles now...
author Sam Lantinga <slouken@libsdl.org>
date Wed, 14 Jun 2006 06:14:26 +0000
parents 5e4c5e095925
children 9488fca10677
comparison
equal deleted inserted replaced
1677:5e4c5e095925 1678:90bf530ced8e
65 65
66 /* Define the SDL renderer structure */ 66 /* Define the SDL renderer structure */
67 struct SDL_Renderer 67 struct SDL_Renderer
68 { 68 {
69 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 69 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
70 int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
71 void **pixels, int *pitch);
70 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 72 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
71 SDL_Rect * rect, const void *pixels, int pitch); 73 SDL_Rect * rect, const void *pixels, int pitch);
72 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 74 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
73 SDL_Rect * rect, int markDirty, void **pixels, 75 SDL_Rect * rect, int markDirty, void **pixels,
74 int *pitch); 76 int *pitch);