зеркало из https://github.com/mono/mail-archives.git
108 строки
3.2 KiB
HTML
108 строки
3.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] MonoMac and OpenTK?
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20and%20OpenTK%3F&In-Reply-To=1296793384389-3259455.post%40n4.nabble.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="003949.html">
|
|
<LINK REL="Next" HREF="003952.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] MonoMac and OpenTK?</H1>
|
|
<B>philippe.monteil</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20and%20OpenTK%3F&In-Reply-To=1296793384389-3259455.post%40n4.nabble.com"
|
|
TITLE="[Mono-osx] MonoMac and OpenTK?">philippe.monteil at dolce-vista.com
|
|
</A><BR>
|
|
<I>Fri Feb 4 09:13:49 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="003949.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003952.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3951">[ date ]</a>
|
|
<a href="thread.html#3951">[ thread ]</a>
|
|
<a href="subject.html#3951">[ subject ]</a>
|
|
<a href="author.html#3951">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
I have been trying to get started using OpenGL with MonoMac through OpenTK
|
|
without much success so far.
|
|
|
|
A simple sequence like:
|
|
|
|
using OpenTK.Graphics.OpenGL;
|
|
|
|
Console.WriteLine("MyOpenGLView.DrawRect() _version(-)");
|
|
string _version = GL.GetString(StringName.Version);
|
|
Console.WriteLine("MyOpenGLView.DrawRect() _version(+)=" +
|
|
_version);
|
|
|
|
causes an exception.
|
|
|
|
Is OpenTK the right way to go under MonoMac?
|
|
|
|
The MacOSX documentation says:
|
|
<<
|
|
OpenGL APIs Specific to Mac OS X
|
|
|
|
Mac OS X offers two easy-to-use APIs that are specific to the Macintosh
|
|
platform: the NSOpenGL classes and the CGL API. Throughout this document,
|
|
these APIs are referred to as the Apple-specific OpenGL APIs.
|
|
>><i>
|
|
</I>Should the OpenGL API be accessed using the NSOpenGL class instead of
|
|
OpenTK?
|
|
|
|
Thanks!
|
|
|
|
Philippe
|
|
|
|
|
|
|
|
|
|
--
|
|
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/MonoMac-and-OpenTK-tp3259455p3260237.html">http://mono.1490590.n4.nabble.com/MonoMac-and-OpenTK-tp3259455p3260237.html</A>
|
|
Sent from the Mono - OSX mailing list archive at Nabble.com.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="003949.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003952.html">[Mono-osx] MonoMac and OpenTK?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3951">[ date ]</a>
|
|
<a href="thread.html#3951">[ thread ]</a>
|
|
<a href="subject.html#3951">[ subject ]</a>
|
|
<a href="author.html#3951">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|