X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprimitivetype.cpp;h=416ebae2bff1b7d9fdd02ec64cb2a97c69c1780c;hb=052b85720688900bc36f8844a94269cb1c0cdd52;hp=848da8000d786ee26d05d8007453e90437bdac7b;hpb=a60b558e1c327fd2e2600ad2551dc0ac648761f2;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) {