X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fdatatype.h;fp=source%2Fcore%2Fdatatype.h;h=1620dc58933d7fe1b5f9ae130ab7bff7fa104c11;hb=24b24e2203c776aacd9744bb947f5cf47b03d328;hp=7188cb5a9c847b37a8f455d682ad660189e131f5;hpb=b09f265880a3a932441091b0f3822b06c112c595;p=libs%2Fgl.git diff --git a/source/core/datatype.h b/source/core/datatype.h index 7188cb5a..1620dc58 100644 --- a/source/core/datatype.h +++ b/source/core/datatype.h @@ -3,7 +3,6 @@ #include #include -#include "gl.h" namespace Msp { namespace GL { @@ -133,8 +132,8 @@ struct TypeTraits> static const DataType type = static_cast((TypeTraits::type&0xF00) | ((TypeTraits::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);