Marshal alcMakeContextCurrent return value as I1. Just to see if it helps Mono.
This commit is contained in:
parent
72ae7b6b00
commit
db10c23942
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue