summaryrefslogtreecommitdiff
path: root/src/shader
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-09-08 22:26:10 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-09-08 22:26:10 -0700
commit2a50fccd24e762d0de5a53bac358e5ddfea8d213 (patch)
treee1ea8c88d842a0c528855b3714b2b812c13cde34 /src/shader
parenteb4f53cbed1953d4016975d14424fb2bc6bbf3d3 (diff)
downloadqtlocation-mapboxgl-2a50fccd24e762d0de5a53bac358e5ddfea8d213.tar.gz
Fix build on gcc (fixes #464)
Diffstat (limited to 'src/shader')
-rw-r--r--src/shader/uniform.cpp4
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.
+
+}