im a newbie working on a g4 powerbook
GeForce FX Go5200 32MB
according to my extension viewer,
i have GL_ARB_texture_rectangle available.
but im having difficulty finding tutorials, besides
the usual windows proc address tooth pulling, on how to use extensions on the mac. Is there a particular header I need to include, or something similar to the windows routine?
in apples glext.h, i noted this define #define GL_ARB_texture_rectangle 1
but including it did not allow me to use
GL_TEXTURE_RECTANGLE_ARB
Unlike other platforms, you do not need to locate extension entry points on Mac OS X. All you need to do is #include <OpenGL/glext.h>
What specifically are you having trouble with? Remember that the rectangle texture extension merely adds a new texture target with different behavior from TEXTURE_2D etc. It doesn’t add any new API.