summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/uniform.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-03 11:07:21 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-11-07 18:51:47 +0100
commited72581e0c9a1f42dda2d659a1596de20201ce3e (patch)
tree7d3208185f4daf2512dc188a5faa352287bd8456 /src/mbgl/gl/uniform.hpp
parent1f8f85fab32f583101cc6cccee8a5463aba6dab7 (diff)
downloadqtlocation-mapboxgl-ed72581e0c9a1f42dda2d659a1596de20201ce3e.tar.gz
[core] remove Uniforms::value in favor of direct construction
Diffstat (limited to 'src/mbgl/gl/uniform.hpp')
-rw-r--r--src/mbgl/gl/uniform.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/gl/uniform.hpp b/src/mbgl/gl/uniform.hpp
index d233614aa6..645a638024 100644
--- a/src/mbgl/gl/uniform.hpp
+++ b/src/mbgl/gl/uniform.hpp
@@ -68,11 +68,6 @@ public:
return State { { Us::name, shader }... };
}
- template <class... Args>
- static Values values(Args&&... args) {
- return Values { std::forward<Args>(args)... };
- }
-
static std::function<void ()> binder(State& state, Values&& values_) {
return [&state, values = std::move(values_)] () mutable {
noop((std::get<typename Us::State>(state) = std::get<typename Us::Value>(values), 0)...);