From 3450b7533bec043648c69f07d20d519e82e3b0b7 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Thu, 18 Sep 2014 17:53:33 +0200 Subject: [PATCH] Added missing function for GLX_EXT_swap_control --- dglOpenGL.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dglOpenGL.pas b/dglOpenGL.pas index cda0368..09fd40d 100644 --- a/dglOpenGL.pas +++ b/dglOpenGL.pas @@ -11137,6 +11137,8 @@ type // GLX_EXT_texture_from_pixmap TglXBindTexImageEXT = procedure(dpy: PDisplay; drawable: GLXDrawable; buffer: GLint; const attrib_list: PGLint); cdecl; TglXReleaseTexImageEXT = procedure(dpy: PDisplay; drawable: GLXDrawable; buffer: GLint); cdecl; + + TglXSwapIntervalEXT = procedure (dpy : PDisplay; drawable : GLXDrawable; interval : GLint); cdecl; {$ENDIF} // GL utility functions and procedures @@ -14500,6 +14502,8 @@ var // GLX_EXT_texture_from_pixmap glXBindTexImageEXT: TglXBindTexImageEXT; glXReleaseTexImageEXT: TglXReleaseTexImageEXT; + + glXSwapIntervalEXT : TglXSwapIntervalEXT; {$ENDIF} // GL utility functions and procedures @@ -15136,6 +15140,8 @@ begin // GLX_EXT_texture_from_pixmap glXBindTexImageEXT := dglGetProcAddress('glXBindTexImageEXT'); glXReleaseTexImageEXT := dglGetProcAddress('glXReleaseTexImageEXT'); + + glXSwapIntervalEXT := dglGetProcAddress('glXSwapIntervalEXT'); {$ENDIF} Result := True; -- 2.1.4