X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fvertexformat.h;h=2164a8fb2cf9f8515bcf1cfd3a442f9a68ffd441;hp=75e33473227f542f9b856027349c6503d4361e96;hb=ceae2a27dfc58310c5bab7e3aa3fedf0fa9a1f49;hpb=8f2430208cfa7bb9dc5bd655dde88acc21db54d2 diff --git a/source/vertexformat.h b/source/vertexformat.h index 75e33473..2164a8fb 100644 --- a/source/vertexformat.h +++ b/source/vertexformat.h @@ -9,7 +9,6 @@ Distributed under the LGPL #define MSP_GL_VERTEXFORMAT_H_ #include -#include "types.h" namespace Msp { namespace GL { @@ -57,7 +56,7 @@ VertexFormat operator,(const VertexFormat &f, unsigned i); inline VertexFormat operator,(VertexComponent c, unsigned i) { return (VertexFormat(c), i); } -inline uint get_stride(const VertexFormat &f) +inline unsigned get_stride(const VertexFormat &f) { return f.stride(); } std::istream &operator>>(std::istream &, VertexFormat &);