summaryrefslogtreecommitdiff
path: root/src/mbgl/platform
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-05-12 15:08:12 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-05-13 19:01:57 -0700
commit0f7c6b0b52ac76db3bb0064b4230229d9def62a8 (patch)
tree067ad1992836a80199d31abb8e24918ac52487a7 /src/mbgl/platform
parent9cd749b55af8ca62f55726018189baeb856fa892 (diff)
downloadqtlocation-mapboxgl-0f7c6b0b52ac76db3bb0064b4230229d9def62a8.tar.gz
Remove unused GL feature flags
These were used only for prerendered textures, which were removed.
Diffstat (limited to 'src/mbgl/platform')
-rw-r--r--src/mbgl/platform/gl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/platform/gl.cpp b/src/mbgl/platform/gl.cpp
index b18ca3da25..096ec8393f 100644
--- a/src/mbgl/platform/gl.cpp
+++ b/src/mbgl/platform/gl.cpp
@@ -70,10 +70,6 @@ PFNGLDELETEVERTEXARRAYSPROC DeleteVertexArrays = nullptr;
PFNGLGENVERTEXARRAYSPROC GenVertexArrays = nullptr;
PFNGLISVERTEXARRAYPROC IsVertexArray = nullptr;
-bool isPackedDepthStencilSupported = false;
-
-bool isDepth24Supported = false;
-
void checkError(const char *cmd, const char *file, int line) {
const GLenum err = glGetError();
if (err != GL_NO_ERROR) {