Mailing Lists: Apple Mailing Lists

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

Occlusion queries?



Does anyone know what I need to include now to use occlusion queries? About six months ago I could just include:

  #include <OpenGL/gl.h>
  #include <OpenGL/glu.h>
  #include <OpenGL/glext.h>
  #include <GLUT/glut.h>

and could use glBeginQueryARB, glEndQueryARB, etc., but now those show up as undeclared when I compile. Is there a new interface to occlusion queries?

When I do this:

/System/Library/Frameworks/OpenGL.framework kcrane$ grep -ril "BeginQuery" .

I get this:

./Libraries/libGL.dylib
./Versions/A/Libraries/libGL.dylib
./Versions/Current/Libraries/libGL.dylib

which makes me think it just got removed from the headers.



-Keenan

_______________________________________________
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


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.