comparison src/video/x11/SDL_x11gl_c.h @ 1736:3b2a92126f4d

Implemented bug #2, 117: Date: Mon, 21 Mar 2005 12:06:14 +0100 From: Per Inge Mathisen Subject: Re: [SDL] Outstanding patches? The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and X11. In Windows you can also query this enum to check that it is working, or see what the default is - such functionality does not exist in GLX. For more information on the standards implemented: http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Apr 2006 07:59:16 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1652:dc219ba4cf45 1736:3b2a92126f4d
69 69
70 const char *(*glXQueryExtensionsString) 70 const char *(*glXQueryExtensionsString)
71 ( Display* dpy, 71 ( Display* dpy,
72 int screen ); 72 int screen );
73 73
74 74 int (*glXSwapIntervalSGI) ( int interval );
75 GLint (*glXSwapIntervalMESA) ( unsigned interval );
76 GLint (*glXGetSwapIntervalMESA) ( void );
77
75 #endif /* SDL_VIDEO_OPENGL_GLX */ 78 #endif /* SDL_VIDEO_OPENGL_GLX */
76 }; 79 };
77 80
78 /* Old variable names */ 81 /* Old variable names */
79 #define gl_active (this->gl_data->gl_active) 82 #define gl_active (this->gl_data->gl_active)