]> git.localhorst.tv Git - blobs.git/blobdiff - src/graphics/gl_traits.hpp
new gcc version
[blobs.git] / src / graphics / gl_traits.hpp
index a399893a17ab6c363c05c75bdc2380f5999f7a38..9e332eb28908dd1b99495167d36577d0f98e2592 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef BLOBS_GRAPHICS_GL_TRAITS_HPP_
 #define BLOBS_GRAPHICS_GL_TRAITS_HPP_
 
-#include "glm.hpp"
+#include "../math/glm.hpp"
 
 #include <GL/glew.h>
 
@@ -72,7 +72,6 @@ template<> struct gl_traits<double> {
 
 // composite types
 
-template<>
 template<class T, glm::precision P>
 struct gl_traits<glm::tvec1<T, P>> {
        static constexpr GLint size = 1;
@@ -83,7 +82,6 @@ constexpr GLint gl_traits<glm::tvec1<T, P>>::size;
 template<class T, glm::precision P>
 constexpr GLenum gl_traits<glm::tvec1<T, P>>::type;
 
-template<>
 template<class T, glm::precision P>
 struct gl_traits<glm::tvec2<T, P>> {
        static constexpr GLint size = 2;
@@ -94,7 +92,6 @@ constexpr GLint gl_traits<glm::tvec2<T, P>>::size;
 template<class T, glm::precision P>
 constexpr GLenum gl_traits<glm::tvec2<T, P>>::type;
 
-template<>
 template<class T, glm::precision P>
 struct gl_traits<glm::tvec3<T, P>> {
        static constexpr GLint size = 3;
@@ -105,7 +102,6 @@ constexpr GLint gl_traits<glm::tvec3<T, P>>::size;
 template<class T, glm::precision P>
 constexpr GLenum gl_traits<glm::tvec3<T, P>>::type;
 
-template<>
 template<class T, glm::precision P>
 struct gl_traits<glm::tvec4<T, P>> {
        static constexpr GLint size = 4;