Library should not use Trace output.

This commit is contained in:
the_fiddler 2008-11-23 09:34:33 +00:00
parent 61181ea785
commit 62ae3698ad
3 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;