*/
+#ifndef GL_ES_VERSION_2_0
/* General functions for drawing geometry
* Solids are drawn by glDrawArrays if composed of triangles, or by
* glDrawElements if consisting of squares or pentagons that were
free(normals );
}
}
+#endif /* GL_ES_VERSION_2_0 */
/* -- INTERFACE FUNCTIONS ---------------------------------------------- */
+#ifndef EGL_VERSION_1_0
/*
* Draws a solid sphere
*/
free ( normal ) ;
glPopMatrix();
}
+#endif /* EGL_VERSION_1_0 */