Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A few minor comments

  • Loading branch information...
commit 2a0ad3ef6f31fddc0cba83cc9930dd4cfa50fd9f 1 parent 3a9dfc6
@andykorth authored
View
6 Source/Examples/Main.cs
@@ -45,11 +45,13 @@ public static void Main()
// 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
3  Source/OpenTK/Platform/MacOS/AglContext.cs
@@ -475,6 +475,9 @@ void Dispose(bool disposing)
// 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)
{
Please sign in to comment.
Something went wrong with that request. Please try again.