using a texture for the grid is better
[vrfileman] / src / opengl.h
index 6d5387e..9acd561 100644 (file)
 
 #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
+
 #ifdef __cplusplus
 extern "C" {
 #endif