comparison src/video/x11/SDL_x11video.c @ 4278:010efca83dfc SDL-1.2

Fixed building without OpenGL support
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Oct 2009 06:10:40 +0000
parents d48035d857d3
children 4ab46e81d08e
comparison
equal deleted inserted replaced
4277:803eeeeaa8a0 4278:010efca83dfc
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 123
124 #if SDL_VIDEO_OPENGL_GLX
124 device->gl_data->sgi_swap_interval = 1; 125 device->gl_data->sgi_swap_interval = 1;
126 #endif
125 127
126 /* Set the driver flags */ 128 /* Set the driver flags */
127 device->handles_any_size = 1; 129 device->handles_any_size = 1;
128 130
129 /* Set the function pointers */ 131 /* Set the function pointers */