All mobile-compatible examples now successfully link

This commit is contained in:
Ceylo 2018-04-11 21:45:36 +02:00 committed by Lukas Dürrenberger
parent b516a3ae2b
commit 82c2f4c05e
7 changed files with 137 additions and 43 deletions

View file

@ -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