Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLU routines under OS X



Your correct, there is a problem with GLU function pointer callbacks under OSX beta.

John


I have some code that uses the OpenGL glu tesselation routines.
Under Classic MacOS it works great, as OS X Carbon/CFM application it
crashes in glu.dylib (according to the stack trace)

My theory is that it is a problem with passing a CFM function pointer that
is set via gluTessCallback to the glu routines which are Mach-O. I 3proved
this2 by building a Mach-O version of the same code, and it worked fine.
My solution was to grab the source to glu from SGI's Open Source initiative
and create my own "GLU".


References: 
 >GLU routines under OS X (From: Andrew Cunningham <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.