Fix build on gcc (fixes #464)

This commit is contained in:
John Firebaugh
2014-09-08 22:26:10 -07:00
parent eb4f53cbed
commit 2a50fccd24

View File

@@ -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.
}