mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 00:56:19 +00:00
Fixed: #1201 glXSwapIntervalMESA & glXGetSwapIntervalMESA Not present in NVidia GL include file
This commit is contained in:
parent
2420244915
commit
60bfa6c0af
3 changed files with 11 additions and 6 deletions
|
@ -449,8 +449,8 @@ NEL_PFNGLXSWAPINTERVALEXTPROC nglXSwapIntervalEXT;
|
|||
|
||||
PFNGLXSWAPINTERVALSGIPROC nglXSwapIntervalSGI;
|
||||
|
||||
PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA;
|
||||
PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA;
|
||||
NEL_PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA;
|
||||
NEL_PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1455,8 +1455,8 @@ static bool setupGLXMESASwapControl(const char *glext)
|
|||
CHECK_EXT("GLX_MESA_swap_control");
|
||||
|
||||
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||
CHECK_ADDRESS(PFNGLXSWAPINTERVALMESAPROC, glXSwapIntervalMESA);
|
||||
CHECK_ADDRESS(PFNGLXGETSWAPINTERVALMESAPROC, glXGetSwapIntervalMESA);
|
||||
CHECK_ADDRESS(NEL_PFNGLXSWAPINTERVALMESAPROC, glXSwapIntervalMESA);
|
||||
CHECK_ADDRESS(NEL_PFNGLXGETSWAPINTERVALMESAPROC, glXGetSwapIntervalMESA);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
|
|
@ -702,8 +702,8 @@ extern NEL_PFNGLXSWAPINTERVALEXTPROC nglXSwapIntervalEXT;
|
|||
|
||||
extern PFNGLXSWAPINTERVALSGIPROC nglXSwapIntervalSGI;
|
||||
|
||||
extern PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA;
|
||||
extern PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA;
|
||||
extern NEL_PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA;
|
||||
extern NEL_PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -395,6 +395,11 @@ typedef GLint (APIENTRY * NEL_PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawa
|
|||
|
||||
#endif // NL_GLX_EXT_swap_control
|
||||
|
||||
#ifndef NL_GLX_MESA_swap_control
|
||||
typedef GLint (APIENTRY * NEL_PFNGLXSWAPINTERVALMESAPROC) (GLuint interval);
|
||||
typedef GLint (APIENTRY * NEL_PFNGLXGETSWAPINTERVALMESAPROC) (GLvoid);
|
||||
#endif // NL_GLX_MESA_swap_control
|
||||
|
||||
#endif // NL_OS_MAC
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue