summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/texture.hpp')
-rw-r--r--src/mbgl/gl/texture.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mbgl/gl/texture.hpp b/src/mbgl/gl/texture.hpp
index 44b81f9a45..74a314d2a7 100644
--- a/src/mbgl/gl/texture.hpp
+++ b/src/mbgl/gl/texture.hpp
@@ -32,12 +32,6 @@ public:
concat_literals<&string_literal<'u', '_'>::value, &Ts::name>::value())... };
}
- template <class BinaryProgram>
- void loadNamedLocations(const BinaryProgram& program) {
- state = State{ program.textureLocation(
- concat_literals<&string_literal<'u', '_'>::value, &Ts::name>::value())... };
- }
-
NamedUniformLocations getNamedLocations() const {
return NamedUniformLocations{ { concat_literals<&string_literal<'u', '_'>::value, &Ts::name>::value(),
state.template get<Ts>().location }... };