]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/datatype.h
Store GLSL features in DeviceInfo
[libs/gl.git] / source / core / datatype.h
index a911561358c2c845d529f44e67aa090e49639f77..1620dc58933d7fe1b5f9ae130ab7bff7fa104c11 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <msp/linal/matrix.h>
 #include <msp/linal/vector.h>
-#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -133,14 +132,12 @@ 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);
+unsigned get_gl_type(DataType);
+DataType from_gl_type(unsigned);
 
 void require_type(DataType);
 
 } // namespace GL
 } // namespace Msp
 
-#include "datatype_backend.h"
-
 #endif