From f440215b5d159d6e62574e5888f7baa50c2cd917 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 22 Nov 2010 16:10:07 +0100 Subject: [PATCH] Changed: #1201 glXSwapIntervalMESA & glXGetSwapIntervalMESA Not present in NVidia GL include file --- code/nel/src/3d/driver/opengl/driver_opengl_extension_def.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_extension_def.h b/code/nel/src/3d/driver/opengl/driver_opengl_extension_def.h index 6941a1f83..a8d46ec83 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_extension_def.h +++ b/code/nel/src/3d/driver/opengl/driver_opengl_extension_def.h @@ -396,8 +396,11 @@ typedef GLint (APIENTRY * NEL_PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawa #endif // NL_GLX_EXT_swap_control #ifndef NL_GLX_MESA_swap_control +#define NL_GLX_MESA_swap_control 1 + typedef GLint (APIENTRY * NEL_PFNGLXSWAPINTERVALMESAPROC) (GLuint interval); -typedef GLint (APIENTRY * NEL_PFNGLXGETSWAPINTERVALMESAPROC) (GLvoid); +typedef GLint (APIENTRY * NEL_PFNGLXGETSWAPINTERVALMESAPROC) (); + #endif // NL_GLX_MESA_swap_control #endif // NL_OS_MAC