diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-09-08 22:26:10 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-09-08 22:26:10 -0700 |
commit | 2a50fccd24e762d0de5a53bac358e5ddfea8d213 (patch) | |
tree | e1ea8c88d842a0c528855b3714b2b812c13cde34 | |
parent | eb4f53cbed1953d4016975d14424fb2bc6bbf3d3 (diff) | |
download | qtlocation-mapboxgl-2a50fccd24e762d0de5a53bac358e5ddfea8d213.tar.gz |
Fix build on gcc (fixes #464)
-rw-r--r-- | src/shader/uniform.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <mbgl/shader/uniform.hpp> -using namespace mbgl; +namespace mbgl { template <> void Uniform<float>::bind(const float& t) { @@ -43,3 +43,5 @@ void UniformMatrix<4>::bind(const std::array<float, 16>& t) { } // Add more as needed. + +} |