GLX: Guard against redefinition of PFNGLXSWAPINTERVALEXTPROC
This type is already declared in glxext.h in the Steam Runtime.
This commit is contained in:
parent
52d7a6f56a
commit
e679502a5d
|
@ -13,7 +13,11 @@
|
||||||
|
|
||||||
typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSPROC)(Display*, GLXFBConfig, GLXContext, Bool,
|
typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSPROC)(Display*, GLXFBConfig, GLXContext, Bool,
|
||||||
const int*);
|
const int*);
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_swap_control
|
||||||
typedef void (*PFNGLXSWAPINTERVALEXTPROC)(Display*, GLXDrawable, int);
|
typedef void (*PFNGLXSWAPINTERVALEXTPROC)(Display*, GLXDrawable, int);
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef int (*PFNGLXSWAPINTERVALMESAPROC)(unsigned int);
|
typedef int (*PFNGLXSWAPINTERVALMESAPROC)(unsigned int);
|
||||||
|
|
||||||
static PFNGLXCREATECONTEXTATTRIBSPROC glXCreateContextAttribs = nullptr;
|
static PFNGLXCREATECONTEXTATTRIBSPROC glXCreateContextAttribs = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue