1
0
Fork 0
mirror of https://github.com/Ryujinx/Opentk.git synced 2025-01-12 00:55:35 +00:00

Color4Serialization example now correctly prints its output messages.

This commit is contained in:
the_fiddler 2009-11-10 00:09:39 +00:00
parent e9d7d147d8
commit 9a4bf6ab79

View file

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