summaryrefslogtreecommitdiff
path: root/include/llmr/platform/gl.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-04 11:33:56 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-04 11:33:56 +0100
commitba4ec7f8c747bbca8f05920a464e5707ca5c1510 (patch)
tree9678564e9ccfed99b7e02ab156c5c7d0ac54210b /include/llmr/platform/gl.hpp
parent2c9b7663717637969b9fd85ce37089034d1d8d82 (diff)
downloadqtlocation-mapboxgl-ba4ec7f8c747bbca8f05920a464e5707ca5c1510.tar.gz
iOS GL specific API alias
Diffstat (limited to 'include/llmr/platform/gl.hpp')
-rw-r--r--include/llmr/platform/gl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llmr/platform/gl.hpp b/include/llmr/platform/gl.hpp
index a0d059c756..b180d5e21f 100644
--- a/include/llmr/platform/gl.hpp
+++ b/include/llmr/platform/gl.hpp
@@ -9,6 +9,7 @@
#define glGenVertexArrays glGenVertexArraysOES
#define glBindVertexArray glBindVertexArrayOES
#define glDeleteVertexArrays glDeleteVertexArraysOES
+ #define glClearDepth glClearDepthf
#elif TARGET_IPHONE_SIMULATOR
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>