comparison src/video/x11/SDL_x11gl_c.h @ 1315:e94b0d7c33bc

Merged useful fixes from 1.3 branch
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Feb 2006 08:17:54 +0000
parents c9b51268668f
children 19418e4422cb
comparison
equal deleted inserted replaced
1314:2b3ebc327017 1315:e94b0d7c33bc
41 void * (*glXGetProcAddress)(const GLubyte *procName); 41 void * (*glXGetProcAddress)(const GLubyte *procName);
42 42
43 XVisualInfo* (*glXChooseVisual) 43 XVisualInfo* (*glXChooseVisual)
44 ( Display* dpy, 44 ( Display* dpy,
45 int screen, 45 int screen,
46 int* attribList ); 46 int* attribList );
47 47
48 GLXContext (*glXCreateContext) 48 GLXContext (*glXCreateContext)
49 ( Display* dpy, 49 ( Display* dpy,
50 XVisualInfo* vis, 50 XVisualInfo* vis,
51 GLXContext shareList, 51 GLXContext shareList,
52 Bool direct ); 52 Bool direct );
53 53
54 void (*glXDestroyContext) 54 void (*glXDestroyContext)
55 ( Display* dpy, 55 ( Display* dpy,
56 GLXContext ctx ); 56 GLXContext ctx );
57 57
68 ( Display* dpy, 68 ( Display* dpy,
69 XVisualInfo* visual_info, 69 XVisualInfo* visual_info,
70 int attrib, 70 int attrib,
71 int* value ); 71 int* value );
72 72
73 void (*glXReleaseBuffersMESA)
74 ( Display* dpy,
75 GLXDrawable drawable );
76
77 const char *(*glXQueryExtensionsString) 73 const char *(*glXQueryExtensionsString)
78 ( Display* dpy, 74 ( Display* dpy,
79 int screen); 75 int screen );
80 76
81 77
82 #endif /* HAVE_OPENGL_X11 */ 78 #endif /* HAVE_OPENGL_X11 */
83 }; 79 };
84 80