X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprimitivetype.cpp;h=416ebae2bff1b7d9fdd02ec64cb2a97c69c1780c;hb=24b24e2203c776aacd9744bb947f5cf47b03d328;hp=848da8000d786ee26d05d8007453e90437bdac7b;hpb=b09f265880a3a932441091b0f3822b06c112c595;p=libs%2Fgl.git diff --git a/source/core/primitivetype.cpp b/source/core/primitivetype.cpp index 848da800..416ebae2 100644 --- a/source/core/primitivetype.cpp +++ b/source/core/primitivetype.cpp @@ -1,4 +1,5 @@ #include +#include "gl.h" #include "primitivetype.h" using namespace std; @@ -6,7 +7,7 @@ using namespace std; namespace Msp { namespace GL { -GLenum get_gl_primitive_type(PrimitiveType pt) +unsigned get_gl_primitive_type(PrimitiveType pt) { switch(pt) {