summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-10-26 18:06:36 -0700
committerKonstantin Käfer <mail@kkaefer.com>2016-11-01 18:41:52 +0100
commited155460d3ec3777bfd95ce3d40c809e583b07de (patch)
treece362d4154cc300b75d78ff8051ebf782834f044 /src/mbgl/gl/context.hpp
parent7b50cac49f353524457e16d3f342299e0886e963 (diff)
downloadqtlocation-mapboxgl-ed155460d3ec3777bfd95ce3d40c809e583b07de.tar.gz
[core] convert LineAtlas to use managed texture handling
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r--src/mbgl/gl/context.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index 4e9320f7d1..e0f9b871cc 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -86,7 +86,9 @@ public:
void bindTexture(Texture&,
TextureUnit = 0,
TextureFilter = TextureFilter::Nearest,
- TextureMipMap = TextureMipMap::No);
+ TextureMipMap = TextureMipMap::No,
+ TextureWrap wrapX = TextureWrap::Clamp,
+ TextureWrap wrapY = TextureWrap::Clamp);
void clear(optional<mbgl::Color> color,
optional<float> depth,