Adapted the examples for iOS (WIP)
This commit is contained in:
parent
cefb4fcee0
commit
4e8e1629d1
6 changed files with 49 additions and 11 deletions
|
@ -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
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue