Commit 6ae47f14 authored by Sam Lantinga's avatar Sam Lantinga

Fixed building without OpenGL support

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403981
parent b3e1d764
...@@ -121,7 +121,9 @@ static SDL_VideoDevice *X11_CreateDevice(int devindex) ...@@ -121,7 +121,9 @@ static SDL_VideoDevice *X11_CreateDevice(int devindex)
SDL_memset(device->hidden, 0, (sizeof *device->hidden)); SDL_memset(device->hidden, 0, (sizeof *device->hidden));
SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); SDL_memset(device->gl_data, 0, (sizeof *device->gl_data));
#if SDL_VIDEO_OPENGL_GLX
device->gl_data->sgi_swap_interval = 1; device->gl_data->sgi_swap_interval = 1;
#endif
/* Set the driver flags */ /* Set the driver flags */
device->handles_any_size = 1; device->handles_any_size = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment