comparison src/video/SDL_sysvideo.h @ 1680:9488fca10677 SDL-1.3

Dummy video driver works again in high color video modes. Yay!
author Sam Lantinga <slouken@libsdl.org>
date Wed, 14 Jun 2006 08:41:13 +0000
parents 90bf530ced8e
children 80a5e6a4e1e2
comparison
equal deleted inserted replaced
1679:153477a6cc31 1680:9488fca10677
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, 70 int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
71 void **pixels, int *pitch); 71 void **pixels, int *pitch);
72 int (*SetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture,
73 SDL_Color * colors, int firstcolor,
74 int ncolors);
72 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 75 int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
73 SDL_Rect * rect, const void *pixels, int pitch); 76 SDL_Rect * rect, const void *pixels, int pitch);
74 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture, 77 int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
75 SDL_Rect * rect, int markDirty, void **pixels, 78 SDL_Rect * rect, int markDirty, void **pixels,
76 int *pitch); 79 int *pitch);