diff 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
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sat Jul 22 19:03:31 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Sat Jul 22 19:51:48 2006 +0000
@@ -55,6 +55,7 @@
 /* Define the SDL renderer structure */
 struct SDL_Renderer
 {
+    int (*ActivateRenderer) (SDL_Renderer * renderer);
     int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
     int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
                                void **pixels, int *pitch);