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: Possible glDrawElements Bug



On Mar 25, 2005, at 4:18 PM, John Stiles wrote:

Does it repro with other video cards?
Are you using any extensions (i.e. VAR)?
"Funky changing results" plus glDrawElements could mean that you are modifying the verts in memory before OpenGL has a chance to access them. With VAR on, OpenGL doesn't make a copy of the elements; it's your job to make sure they stick around until the draw has completed. (You can know whether the draw is done or not by adding fences, or glFlush can be used as a last resort.)

That was gonna be my next stop. I only have one mac.

The array is static, I never change it. It's created on start-up and free'd on shutdown, never changed otherwise. The array itself is obviously ok.

[>] Brian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Possible glDrawElements Bug (From: Brian Barnes <email@hidden>)
 >Re: Possible glDrawElements Bug (From: John Stiles <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.