PDA

View Full Version : PRIMITIVE_RESTART on mac



miroslav_karpis
02-20-2010, 04:18 AM
Hi,
I have a macbook with OSX 10.6.2. I would like to use PRIMITIVE_RESTART for my index buffer (triangle_strip), but it looks like it is not supported on mac? Or is it and I just donīt know the right name of it? I have checked also glext.h - and could not find it there.

miroslav_karpis
02-20-2010, 10:27 AM
so after more research it looks like it is not supported at all on Mac...hmm.. strange with opengl 2.1. Here is a link of full GLInfo of mac graphic cards.. (http://homepage.mac.com/arekkusu/bugs/GLInfo.html)

arekkusu
02-20-2010, 03:29 PM
Use degenerate triangles.

Even if it was supported on the Mac, it's an NV extension, so you'd still have to code a degenerate triangle path for your app to work on ATI or Intel GPUs.