AGL from NSOpenGL*?
AGL from NSOpenGL*?
- Subject: AGL from NSOpenGL*?
- From: Peter Ammon <email@hidden>
- Date: Sat, 23 Jun 2001 03:09:32 -0700
I'd like to use an AGL function with my NSOpenGLView. The specific
function I'm interested in is aglUseFont, for generating display lists
of characters from a given font. To use it, I need an AGLContext, but
calling aglGetCurrentContext while my NSOpenGLView's context is active
returns 0. Is there any way I can use this AGL function from within
Cocoa, or are there alternatives I should know about?
Thanks for any help.
-Peter