projects
/
LazOpenGLCore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
628de90
)
Added missing function for GLX_EXT_swap_control
author
saschawillems
<webmaster@saschawillems.de>
Thu, 18 Sep 2014 15:53:33 +0000
(17:53 +0200)
committer
saschawillems
<webmaster@saschawillems.de>
Thu, 18 Sep 2014 15:53:33 +0000
(17:53 +0200)
dglOpenGL.pas
patch
|
blob
|
history
diff --git
a/dglOpenGL.pas
b/dglOpenGL.pas
index
cda0368
..
09fd40d
100644
(file)
--- 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;
// 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
{$ENDIF}
// GL utility functions and procedures
@@
-14500,6
+14502,8
@@
var
// GLX_EXT_texture_from_pixmap
glXBindTexImageEXT: TglXBindTexImageEXT;
glXReleaseTexImageEXT: TglXReleaseTexImageEXT;
// GLX_EXT_texture_from_pixmap
glXBindTexImageEXT: TglXBindTexImageEXT;
glXReleaseTexImageEXT: TglXReleaseTexImageEXT;
+
+ glXSwapIntervalEXT : TglXSwapIntervalEXT;
{$ENDIF}
// GL utility functions and procedures
{$ENDIF}
// GL utility functions and procedures
@@
-15136,6
+15140,8
@@
begin
// GLX_EXT_texture_from_pixmap
glXBindTexImageEXT := dglGetProcAddress('glXBindTexImageEXT');
glXReleaseTexImageEXT := dglGetProcAddress('glXReleaseTexImageEXT');
// GLX_EXT_texture_from_pixmap
glXBindTexImageEXT := dglGetProcAddress('glXBindTexImageEXT');
glXReleaseTexImageEXT := dglGetProcAddress('glXReleaseTexImageEXT');
+
+ glXSwapIntervalEXT := dglGetProcAddress('glXSwapIntervalEXT');
{$ENDIF}
Result := True;
{$ENDIF}
Result := True;