Fix a problem with systems that don't define GLXPbufferSGIX or GLXFBConfigSGIX

This commit is contained in:
ehofman
2005-07-31 08:46:37 +00:00
parent 32e2cd9f06
commit 178c49a430

View File

@@ -429,10 +429,14 @@ typedef BOOL (APIENTRY * wglSetPbufferAttribARBProc) (HPBUFFERARB hPbuffer, cons
#endif
#ifndef GLXPbuffer
#define GLXPbuffer GLXPbufferSGIX
# ifdef GLXPbufferSGIX
# define GLXPbuffer GLXPbufferSGIX
# endif
#endif
#ifndef GLXFBConfig
#define GLXFBConfig GLXFBConfigSGIX
# ifdef GLXFBConfigSGIX
# define GLXFBConfig GLXFBConfigSGIX
# endif
#endif
typedef GLXFBConfig *(*glXChooseFBConfigProc) (Display *dpy, int screen, int *attribList, int *nitems);