Mailing Lists: Apple Mailing Lists

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

Eventual Lock-Up



Hi, I have a test project that draws a skybox made up of 6 GL_QUADS,
a bunch of spheres imported from 3DMF files, and an array of 2x100x100
triangles for a "ground" surface. I "fly" around the level by moving the
mouse, like a flight simulator. The problem is, I play anywhere from 30
seconds to 5 minutes, and the screen eventually freezes. I am almost
positive that the problem happens inside of aglSwapBuffers(); The way I
know is, I do a DrawString() before and one after aglSwapBuffers(), and I
don't see either string, which makes me think the first one was drawn,
then overwritten, and then aglSwapBuffers() never returned. I know I am
not supposed to mix OpenGL and Quickdraw, but this was a quick hack to
track down the problem. If I take out the DrawString()s, the lock up
still happens. I have run the whole project with spotlight and it never
complains. I can probably put together a small test project, but I was
hoping someone else had seen this freeze before. Thanx for your time,

Zack Morris
Z Sculpt Entertainment
email@hidden
http://www.zsculpt.com




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.