Author: dhudson
Date: 2007-11-01 17:11:57 -0500 (Thu, 01 Nov 2007)
New Revision: 88691
Modified:
trunk/tao/src/Tao.Platform.X11/Glx.cs
Log:
Glx fixes courtesy of Sam Hocevar (sam at zoy.org)
Modified: trunk/tao/src/Tao.Platform.X11/Glx.cs
===================================================================
--- trunk/tao/src/Tao.Platform.X11/Glx.cs 2007-11-01 21:48:20 UTC (rev
88690)
+++ trunk/tao/src/Tao.Platform.X11/Glx.cs 2007-11-01 22:11:57 UTC (rev
88691)
@@ -920,6 +920,7 @@
/// <param name="eventBase"></param>
/// <returns></returns>
[CLSCompliant(false)]
+ [DllImport(LIBGL, CallingConvention = CALLING_CONVENTION, EntryPoint =
"glXQueryExtension"), SuppressUnmanagedCodeSecurity]
public static unsafe extern bool glXQueryExtension( IntPtr dpy,
int* errorBase, int* eventBase );
/// <summary>
@@ -988,6 +989,7 @@
/// <param name="minor"></param>
/// <returns></returns>
[CLSCompliant(false)]
+ [DllImport(LIBGL, CallingConvention = CALLING_CONVENTION, EntryPoint =
"glXQueryVersion"), SuppressUnmanagedCodeSecurity]
public static unsafe extern bool glXQueryVersion( IntPtr dpy,
int* major, int* minor );
//public static unsafe extern bool glXQueryVersion( IntPtr dpy,
out int major, out int minor )
//{
@@ -1309,6 +1311,7 @@
/// <param name="attribute"></param>
/// <param name="value"></param>
[CLSCompliant(false)]
+ [DllImport(LIBGL, CallingConvention = CALLING_CONVENTION, EntryPoint =
"glXQueryDrawable"), SuppressUnmanagedCodeSecurity]
public static extern void glXQueryDrawable( IntPtr dpy, IntPtr
draw, int attribute, uint[] value );
/// <summary>
@@ -1415,6 +1418,7 @@
/// <param name="draw"></param>
/// <param name="event_mask"></param>
[CLSCompliant(false)]
+ [DllImport(LIBGL, CallingConvention = CALLING_CONVENTION, EntryPoint =
"glXGetSelectedEvent"), SuppressUnmanagedCodeSecurity]
public static unsafe extern void glXGetSelectedEvent( IntPtr dpy,
IntPtr draw, ulong event_mask );
/* GLX 1.4 and later */
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches