From e27f33062994a1b0155b44b9d471e48e93b09f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 7 Mar 2019 17:50:02 +0100 Subject: [core] add texture bindings to draw call instead of Context member fn --- src/mbgl/gl/uniform.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl/gl/uniform.hpp') diff --git a/src/mbgl/gl/uniform.hpp b/src/mbgl/gl/uniform.hpp index c5aa2d6c39..3827015bb3 100644 --- a/src/mbgl/gl/uniform.hpp +++ b/src/mbgl/gl/uniform.hpp @@ -35,7 +35,7 @@ ActiveUniforms activeUniforms(ProgramID); template class UniformState { public: - UniformState(UniformLocation location_) : location(std::move(location_)) { + UniformState(UniformLocation location_ = -1) : location(std::move(location_)) { } void operator=(const Value& value) { -- cgit v1.2.1