src/video/SDL_sysvideo.h
changeset 5563 2a152e7e82f2
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/video/SDL_sysvideo.h	Wed Jul 13 17:38:09 2011 -0700
     1.2 +++ b/src/video/SDL_sysvideo.h	Fri Jul 15 17:05:32 2011 -0700
     1.3 @@ -277,6 +277,11 @@
     1.4      } gl_config;
     1.5  
     1.6      /* * * */
     1.7 +    /* Cache current GL context; don't call the OS when it hasn't changed. */
     1.8 +    SDL_Window *current_glwin;
     1.9 +    SDL_GLContext current_glctx;
    1.10 +
    1.11 +    /* * * */
    1.12      /* Data private to this driver */
    1.13      void *driverdata;
    1.14      struct SDL_GLDriverData *gl_data;