mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
respect old versions of glx.h a little better
This commit is contained in:
parent
e08d134dba
commit
9766fe68c3
@ -55,7 +55,6 @@ typedef int XIC;
|
|||||||
#if !defined(HAVE_GLXFBCONFIG) && defined(GLX_SGIX_fbconfig) && defined(GLX_SGIX_pbuffer)
|
#if !defined(HAVE_GLXFBCONFIG) && defined(GLX_SGIX_fbconfig) && defined(GLX_SGIX_pbuffer)
|
||||||
// If the system glx version isn't 1.3, but these were defined as
|
// If the system glx version isn't 1.3, but these were defined as
|
||||||
// extensions, we can work with that.
|
// extensions, we can work with that.
|
||||||
#define GLX_RGBA_TYPE GLX_RGBA_TYPE_SGIX
|
|
||||||
#define GLXFBConfig GLXFBConfigSGIX
|
#define GLXFBConfig GLXFBConfigSGIX
|
||||||
#define GLXPbuffer GLXPbufferSGIX
|
#define GLXPbuffer GLXPbufferSGIX
|
||||||
#define glXChooseFBConfig glXChooseFBConfigSGIX
|
#define glXChooseFBConfig glXChooseFBConfigSGIX
|
||||||
|
@ -332,6 +332,7 @@ typedef struct {
|
|||||||
the following to compile. */
|
the following to compile. */
|
||||||
typedef struct __GLXFBConfigRec *GLXFBConfig;
|
typedef struct __GLXFBConfigRec *GLXFBConfig;
|
||||||
typedef XID GLXPbuffer;
|
typedef XID GLXPbuffer;
|
||||||
|
typedef XID GLXWindow;
|
||||||
|
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *);
|
extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user