Library should not use Trace output.
This commit is contained in:
parent
61181ea785
commit
62ae3698ad
3 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ namespace OpenTK.Audio
|
|||
AL_STORAGE_HARDWARE == 0 ||
|
||||
AL_STORAGE_ACCESSIBLE == 0 )
|
||||
{
|
||||
Trace.WriteLine( "X-Ram: Token values could not be retrieved." );
|
||||
Debug.WriteLine( "X-Ram: Token values could not be retrieved." );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ namespace OpenTK.Audio
|
|||
Imported_SetBufferMode = (Delegate_SetBufferMode) Marshal.GetDelegateForFunctionPointer( AL.GetProcAddress( "EAXSetBufferMode" ), typeof( Delegate_SetBufferMode ) );
|
||||
} catch ( Exception e )
|
||||
{
|
||||
Trace.WriteLine( "X-Ram: Attempt to marshal function pointers with AL.GetProcAddress failed. " + e.ToString( ) );
|
||||
Debug.WriteLine( "X-Ram: Attempt to marshal function pointers with AL.GetProcAddress failed. " + e.ToString( ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -516,7 +516,7 @@ namespace OpenTK
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Trace.WriteLine(String.Format("OnLoad failed: {0}", e.ToString()));
|
||||
Debug.WriteLine(String.Format("OnLoad failed: {0}", e.ToString()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
|
||||
if ((rin.Data.Mouse.Flags & RawMouseFlags.MOUSE_VIRTUAL_DESKTOP) != 0)
|
||||
Trace.WriteLine(String.Format("Mouse {0} defines MOUSE_VIRTUAL_DESKTOP flag, please report at http://www.opentk.com", mouse.ToString()));
|
||||
Debug.WriteLine(String.Format("Mouse {0} defines MOUSE_VIRTUAL_DESKTOP flag, please report at http://www.opentk.com", mouse.ToString()));
|
||||
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue