From 9a4bf6ab79522d20187358fcec4143c64fd2cc45 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 10 Nov 2009 00:09:39 +0000 Subject: [PATCH] Color4Serialization example now correctly prints its output messages. --- Source/Examples/OpenTK/Test/Color4Serialization.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/Examples/OpenTK/Test/Color4Serialization.cs b/Source/Examples/OpenTK/Test/Color4Serialization.cs index 33db76b5..6a653a03 100644 --- a/Source/Examples/OpenTK/Test/Color4Serialization.cs +++ b/Source/Examples/OpenTK/Test/Color4Serialization.cs @@ -25,11 +25,9 @@ // #endregion -using System; +using System.Diagnostics; using System.IO; using System.Xml.Serialization; - -using OpenTK; using OpenTK.Graphics; namespace Examples.Tests @@ -48,9 +46,9 @@ namespace Examples.Tests xs.Serialize(stream, color); stream.Seek(0, SeekOrigin.Begin); color2 = (Color4)xs.Deserialize(stream); - Console.WriteLine(color); - Console.WriteLine(color2); - Console.WriteLine(color.Equals(color2)); + Trace.WriteLine(color); + Trace.WriteLine(color2); + Trace.WriteLine(color.Equals(color2)); } } }