All mobile-compatible examples now successfully link
This commit is contained in:
parent
b516a3ae2b
commit
82c2f4c05e
7 changed files with 137 additions and 43 deletions
|
@ -5,6 +5,15 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <SFML/OpenGL.hpp>
|
||||
|
||||
#ifdef SFML_SYSTEM_IOS
|
||||
#include <SFML/Main.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef SFML_OPENGL_ES
|
||||
#define glClearDepth glClearDepthf
|
||||
#define glFrustum glFrustumf
|
||||
#endif
|
||||
|
||||
#ifndef GL_SRGB8_ALPHA8
|
||||
#define GL_SRGB8_ALPHA8 0x8C43
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue