From 2a50fccd24e762d0de5a53bac358e5ddfea8d213 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 8 Sep 2014 22:26:10 -0700 Subject: Fix build on gcc (fixes #464) --- src/shader/uniform.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shader') diff --git a/src/shader/uniform.cpp b/src/shader/uniform.cpp index 14a6ae760e..24f179baf1 100644 --- a/src/shader/uniform.cpp +++ b/src/shader/uniform.cpp @@ -1,6 +1,6 @@ #include -using namespace mbgl; +namespace mbgl { template <> void Uniform::bind(const float& t) { @@ -43,3 +43,5 @@ void UniformMatrix<4>::bind(const std::array& t) { } // Add more as needed. + +} -- cgit v1.2.1