summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/types.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-06-07 15:46:16 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-13 10:18:43 -0700
commitb201a7900f989af432aaea500a0e6c5ea5bbba53 (patch)
tree4786889bb4dcec59f2e0e0ee4171facbea372756 /src/mbgl/gl/types.hpp
parentf5d3b850bff06e3cd4d4bcff288dceeb53cfa82d (diff)
downloadqtlocation-mapboxgl-b201a7900f989af432aaea500a0e6c5ea5bbba53.tar.gz
[core] glPixelStorei is in OpenGL ES 2
Diffstat (limited to 'src/mbgl/gl/types.hpp')
-rw-r--r--src/mbgl/gl/types.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/gl/types.hpp b/src/mbgl/gl/types.hpp
index 0595419674..31e3076f67 100644
--- a/src/mbgl/gl/types.hpp
+++ b/src/mbgl/gl/types.hpp
@@ -66,8 +66,6 @@ enum class PrimitiveType {
TriangleFan = 0x0006
};
-#if not MBGL_USE_GLES2
-
struct PixelStorageType {
int32_t alignment;
};
@@ -76,8 +74,6 @@ constexpr bool operator!=(const PixelStorageType& a, const PixelStorageType& b)
return a.alignment != b.alignment;
}
-#endif // MBGL_USE_GLES2
-
using BinaryProgramFormat = uint32_t;
} // namespace gl