GLX: Guard against redefinition of PFNGLXSWAPINTERVALEXTPROC

This type is already declared in glxext.h in the Steam Runtime.
This commit is contained in:
OatmealDome
2022-05-29 13:50:32 -04:00
parent 52d7a6f56a
commit e679502a5d
@@ -13,7 +13,11 @@
typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSPROC)(Display*, GLXFBConfig, GLXContext, Bool,
const int*);
#ifndef GLX_EXT_swap_control
typedef void (*PFNGLXSWAPINTERVALEXTPROC)(Display*, GLXDrawable, int);
#endif
typedef int (*PFNGLXSWAPINTERVALMESAPROC)(unsigned int);
static PFNGLXCREATECONTEXTATTRIBSPROC glXCreateContextAttribs = nullptr;