Marshal alcMakeContextCurrent return value as I1. Just to see if it helps Mono.

This commit is contained in:
the_fiddler 2008-01-20 22:12:27 +00:00
parent 72ae7b6b00
commit db10c23942

View file

@ -114,6 +114,7 @@ namespace OpenTK.OpenAL
/// <param name="context">A pointer to the new context.</param>
/// <returns>Returns True on success, or False on failure.</returns>
[DllImport(Alc.Lib,EntryPoint = "alcMakeContextCurrent",ExactSpelling = true,CallingConvention = Alc.Style),SuppressUnmanagedCodeSecurity( )]
[return: MarshalAs(UnmanagedType.I1)]
public static extern bool MakeContextCurrent( [In] IntPtr context );
// ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent( ALCcontext *context );