mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 06:55:37 +00:00
A few minor comments
This commit is contained in:
parent
3a9dfc62ad
commit
2a0ad3ef6f
|
@ -49,7 +49,9 @@ namespace Examples
|
|||
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())
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue