diff src/video/SDL_sysvideo.h @ 2245:989fb86ad1ec

Optimization suggested by Ryan: Don't set the same OpenGL context multiple times
author Sam Lantinga <slouken@libsdl.org>
date Wed, 15 Aug 2007 03:52:31 +0000
parents c9aa6bcb26f3
children 4baee598306d
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Wed Aug 15 03:50:49 2007 +0000
+++ b/src/video/SDL_sysvideo.h	Wed Aug 15 03:52:31 2007 +0000
@@ -126,6 +126,7 @@
 
     int display;
     SDL_Renderer *renderer;
+    SDL_GLContext context;
 
     void *userdata;
     void *driverdata;