#endif /* IPHONE */
+#ifndef GL_RGB16F
+#define GL_RGB16F 0x881b
+#endif
+#ifndef GL_RGBA16F
+#define GL_RGBA16F 0x881a
+#endif
+#ifndef GL_RGB32F
+#define GL_RGB32F 0x8815
+#endif
+#ifndef GL_RGBA32F
+#define GL_RGBA32F 0x8814
+#endif
+#ifndef GL_LUMINANCE16F
+#define GL_LUMINANCE16F 0x881e
+#endif
+#ifndef GL_LUMINANCE32F
+#define GL_LUMINANCE32F 0x8818
+#endif
+#ifndef GL_DEPTH24_STENCIL8
+#define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
+#endif
+
+struct GLCaps {
+ int shaders;
+ int fsaa;
+ int fbo;
+ int shadow;
+ int max_aniso;
+};
+extern struct GLCaps glcaps;
+
+
#ifdef __cplusplus
extern "C" {
#endif