Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Wed Jun 14 06:26:35 2006 +0000 +++ b/src/video/SDL_sysvideo.h Wed Jun 14 08:41:13 2006 +0000 @@ -69,6 +69,9 @@ int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture); int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture, void **pixels, int *pitch); + int (*SetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture, + SDL_Color * colors, int firstcolor, + int ncolors); int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture, SDL_Rect * rect, const void *pixels, int pitch); int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,