comparison src/video/SDL_sysvideo.h @ 1923:d4572b97b08f

Switch OpenGL contexts when switching render contexts. Query the maximum texture size and show the current render parameters.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 22 Jul 2006 19:51:48 +0000
parents 83420da906a5
children 69217fdd2c0a
comparison
equal deleted inserted replaced
1922:4905cac7a4bd 1923:d4572b97b08f
53 }; 53 };
54 54
55 /* Define the SDL renderer structure */ 55 /* Define the SDL renderer structure */
56 struct SDL_Renderer 56 struct SDL_Renderer
57 { 57 {
58 int (*ActivateRenderer) (SDL_Renderer * renderer);
58 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture); 59 int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
59 int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture, 60 int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
60 void **pixels, int *pitch); 61 void **pixels, int *pitch);
61 int (*SetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture, 62 int (*SetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture,
62 const SDL_Color * colors, int firstcolor, 63 const SDL_Color * colors, int firstcolor,