summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
diff options
context:
space:
mode:
authorGali Nelle <galinelle.mapbox@gmail.com>2020-04-08 16:28:35 +0300
committergalinelle <paolo.angelelli@mapbox.com>2020-04-10 00:15:43 +0300
commit209857f8acc73d7950a1c8ec58f4ec7622287e55 (patch)
treea6cb095fffae224aae84e7d93dc38fbc7037d361 /src/mbgl/gl
parente6c156420d2d287bd6d3449af3338f550dbf84f4 (diff)
downloadqtlocation-mapboxgl-209857f8acc73d7950a1c8ec58f4ec7622287e55.tar.gz
Fix LocationIndicator Layer
This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups.
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r--src/mbgl/gl/defines.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/defines.hpp b/src/mbgl/gl/defines.hpp
index 1d9177d069..52dc92d230 100644
--- a/src/mbgl/gl/defines.hpp
+++ b/src/mbgl/gl/defines.hpp
@@ -149,6 +149,7 @@
#define GL_TEXTURE_2D 0x0DE1
#define GL_TEXTURE_BINDING_2D 0x8069
#define GL_TEXTURE_MAG_FILTER 0x2800
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_TEXTURE_MIN_FILTER 0x2801
#define GL_TEXTURE_WRAP_S 0x2802
#define GL_TEXTURE_WRAP_T 0x2803
@@ -163,7 +164,6 @@
#define GL_VERTEX_SHADER 0x8B31
#define GL_VIEWPORT 0x0BA2
#define GL_ZERO 0
-#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#ifdef MBGL_USE_GLES2
#define GL_HALF_FLOAT 0x8D61
#else