Adapted the examples for iOS (WIP)

This commit is contained in:
Laurent Gomila 2013-08-26 09:17:53 +02:00 committed by Jonathan De Wachter
parent cefb4fcee0
commit 4e8e1629d1
6 changed files with 49 additions and 11 deletions

View file

@ -5,6 +5,15 @@
#include <SFML/OpenGL.hpp>
// Some platform-specific stuff
#ifdef SFML_OPENGL_ES
#define glClearDepth glClearDepthf
#define glFrustum glFrustumf
#endif
////////////////////////////////////////////////////////////
/// Entry point of application
///