src/video/x11/SDL_x11video.c
branchSDL-1.2
changeset 4268 d48035d857d3
parent 4266 62849663f20a
child 4278 010efca83dfc
equal deleted inserted replaced
4267:27f972dd5aff 4268:d48035d857d3
   118 			X11_DeleteDevice(device); /* calls SDL_X11_UnloadSymbols(). */
   118 			X11_DeleteDevice(device); /* calls SDL_X11_UnloadSymbols(). */
   119 			return(0);
   119 			return(0);
   120 		}
   120 		}
   121 		SDL_memset(device->hidden, 0, (sizeof *device->hidden));
   121 		SDL_memset(device->hidden, 0, (sizeof *device->hidden));
   122 		SDL_memset(device->gl_data, 0, (sizeof *device->gl_data));
   122 		SDL_memset(device->gl_data, 0, (sizeof *device->gl_data));
       
   123 
       
   124 		device->gl_data->sgi_swap_interval = 1;
   123 
   125 
   124 		/* Set the driver flags */
   126 		/* Set the driver flags */
   125 		device->handles_any_size = 1;
   127 		device->handles_any_size = 1;
   126 
   128 
   127 		/* Set the function pointers */
   129 		/* Set the function pointers */