Navigation Menu

Skip to content

Commit

Permalink
Fixed building without OpenGL support
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 7, 2009
1 parent 523258c commit b1f2ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/x11/SDL_x11video.c
Expand Up @@ -121,7 +121,9 @@ static SDL_VideoDevice *X11_CreateDevice(int devindex)
SDL_memset(device->hidden, 0, (sizeof *device->hidden));
SDL_memset(device->gl_data, 0, (sizeof *device->gl_data));

#if SDL_VIDEO_OPENGL_GLX
device->gl_data->sgi_swap_interval = 1;
#endif

/* Set the driver flags */
device->handles_any_size = 1;
Expand Down

0 comments on commit b1f2ab0

Please sign in to comment.