summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/gl/hillshade.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-26 18:31:48 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-05-08 12:25:22 +0200
commit20a807fdf36e2609973451ef8d0e49472a59db91 (patch)
tree8aa9cc42ba015097cf1edc4e16a438a8ddfeb298 /src/mbgl/programs/gl/hillshade.cpp
parentef48d53e78573c30d543a5fa84a7d524c950a2f3 (diff)
downloadqtlocation-mapboxgl-20a807fdf36e2609973451ef8d0e49472a59db91.tar.gz
[core] render extrusions directly in the main framebuffer
Diffstat (limited to 'src/mbgl/programs/gl/hillshade.cpp')
-rw-r--r--src/mbgl/programs/gl/hillshade.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/programs/gl/hillshade.cpp b/src/mbgl/programs/gl/hillshade.cpp
index a33ddb4326..fcf52e7313 100644
--- a/src/mbgl/programs/gl/hillshade.cpp
+++ b/src/mbgl/programs/gl/hillshade.cpp
@@ -16,8 +16,8 @@ template <>
struct ShaderSource<HillshadeProgram> {
static constexpr const char* name = "hillshade";
static constexpr const uint8_t hash[8] = { 0x8a, 0x11, 0x29, 0x18, 0x52, 0x7f, 0x3b, 0xbb };
- static constexpr const auto vertexOffset = 29340;
- static constexpr const auto fragmentOffset = 29511;
+ static constexpr const auto vertexOffset = 29068;
+ static constexpr const auto fragmentOffset = 29239;
};
constexpr const char* ShaderSource<HillshadeProgram>::name;