Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/drape
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-11-18 11:07:33 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:32:50 +0300
commit8c26d7161cf1847228eea32b188c4b2df826ca0a (patch)
tree5d6c18b988910a70dba997170244174c2a1b9a47 /drape
parenta6dc6dfb2a8d2f155ae8b8b661f0ee7f340aa45a (diff)
[ios, drape] ios OGL not support GLdouble. Don't use it.
Diffstat (limited to 'drape')
-rw-r--r--drape/binding_info.cpp2
-rw-r--r--drape/glconstants.cpp1
-rw-r--r--drape/glconstants.hpp1
3 files changed, 0 insertions, 4 deletions
diff --git a/drape/binding_info.cpp b/drape/binding_info.cpp
index 95d5ce5624..48a9bfcdf4 100644
--- a/drape/binding_info.cpp
+++ b/drape/binding_info.cpp
@@ -19,8 +19,6 @@ uint16_t sizeOfType(glConst type)
return sizeof(GLint);
else if (type == gl_const::GLFloatType)
return sizeof(GLfloat);
- else if (type == gl_const::GLDoubleType)
- return sizeof(GLdouble);
ASSERT(false, ());
return 0;
diff --git a/drape/glconstants.cpp b/drape/glconstants.cpp
index 5ea90c7788..ae52531df2 100644
--- a/drape/glconstants.cpp
+++ b/drape/glconstants.cpp
@@ -92,7 +92,6 @@ const glConst GLUnsignedShortType = GL_UNSIGNED_SHORT;
const glConst GLIntType = GL_INT;
const glConst GLUnsignedIntType = GL_UNSIGNED_INT;
const glConst GLFloatType = GL_FLOAT;
-const glConst GLDoubleType = GL_DOUBLE;
const glConst GLFloatVec2 = GL_FLOAT_VEC2;
const glConst GLFloatVec3 = GL_FLOAT_VEC3;
diff --git a/drape/glconstants.hpp b/drape/glconstants.hpp
index 9ddb141e9d..f0fe3ec559 100644
--- a/drape/glconstants.hpp
+++ b/drape/glconstants.hpp
@@ -77,7 +77,6 @@ extern const glConst GLUnsignedShortType;
extern const glConst GLIntType;
extern const glConst GLUnsignedIntType;
extern const glConst GLFloatType;
-extern const glConst GLDoubleType;
extern const glConst GLFloatVec2;
extern const glConst GLFloatVec3;