A few minor comments

This commit is contained in:
Andy Korth 2013-01-17 14:45:57 -06:00
parent 3a9dfc62ad
commit 2a0ad3ef6f
2 changed files with 7 additions and 2 deletions

View file

@ -45,11 +45,13 @@ namespace Examples
// This seems to be useful enough to leave in for a while.
TextWriterTraceListener console = new TextWriterTraceListener(System.Console.Out);
Trace.Listeners.Add (console);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Examples.Tests.MatrixTest.Main ();
// The ExampleBrowser works pretty poorly on some platforms, so you may want to start examples directly.
// for example: Examples.Tutorial.T12_GLSL_Parallax.Main ();
// Examples.Tutorial.T10_GLSL_Cube.Main ();
using (Form browser = new ExampleBrowser())
{

View file

@ -475,6 +475,9 @@ namespace OpenTK.Platform.MacOS
// I do not know MacOS allows us to destroy a context from a separate thread,
// like the finalizer thread. It's untested, but worst case is probably
// an exception on application exit, which would be logged to the console.
// Actually, it seems to crash the mono runtime. -AMK 2013
Debug.Print("Destroying context");
if (Agl.aglDestroyContext(Handle.Handle) == true)
{