summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/texture_resource.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-07 17:50:02 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-12 11:03:54 +0100
commite27f33062994a1b0155b44b9d471e48e93b09f8e (patch)
treeeff2ba71134b9721c16fd53378b9256b94396712 /src/mbgl/gl/texture_resource.hpp
parentcb64c380fbbd209cb68af60e76b7a770805353a8 (diff)
downloadqtlocation-mapboxgl-e27f33062994a1b0155b44b9d471e48e93b09f8e.tar.gz
[core] add texture bindings to draw call instead of Context member fn
Diffstat (limited to 'src/mbgl/gl/texture_resource.hpp')
-rw-r--r--src/mbgl/gl/texture_resource.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/gl/texture_resource.hpp b/src/mbgl/gl/texture_resource.hpp
index 4803f9b7f4..ed742e75b7 100644
--- a/src/mbgl/gl/texture_resource.hpp
+++ b/src/mbgl/gl/texture_resource.hpp
@@ -12,6 +12,10 @@ public:
}
UniqueTexture texture;
+ gfx::TextureFilterType filter = gfx::TextureFilterType::Nearest;
+ gfx::TextureMipMapType mipmap = gfx::TextureMipMapType::No;
+ gfx::TextureWrapType wrapX = gfx::TextureWrapType::Clamp;
+ gfx::TextureWrapType wrapY = gfx::TextureWrapType::Clamp;
};
} // namespace gl