Mailing Lists: Apple Mailing Lists

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

GLU routines under OS X



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".

What would be the proper way to handle this...


Andrew



----------------------
Andrew Cunningham
Vibro-Acoustic Sciences Inc
http://www.vasci.com
mailto: email@hidden
(858) 350 0057 x105
Intl: +1-858-350 0057




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.