]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/datatype.h
Load textures in a type-generic way
[libs/gl.git] / source / core / datatype.h
index a911561358c2c845d529f44e67aa090e49639f77..8111dd77f634b341f7c60cab6b1e4fc1533ca727 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <msp/linal/matrix.h>
 #include <msp/linal/vector.h>
-#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -133,9 +132,6 @@ struct TypeTraits<LinAl::Matrix<T, N, M>>
        static const DataType type = static_cast<DataType>((TypeTraits<T>::type&0xF00) | ((TypeTraits<T>::type&0xFF)*N*M) | ((N-1)<<12) | ((M-1)<<14));
 };
 
-GLenum get_gl_type(DataType);
-DataType from_gl_type(GLenum);
-
 void require_type(DataType);
 
 } // namespace GL