X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprimitivetype.cpp;h=7698e2d65e0fcf916cfb70d4ac228e60830a1f97;hb=f73e671dcb36c097647cddbf5b1eaaad2ffc9299;hp=81375843c9f649609e4ef2c7e60873eca3534dfa;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/core/primitivetype.cpp b/source/core/primitivetype.cpp index 81375843..7698e2d6 100644 --- a/source/core/primitivetype.cpp +++ b/source/core/primitivetype.cpp @@ -1,6 +1,8 @@ #include #include "primitivetype.h" +using namespace std; + namespace Msp { namespace GL { @@ -10,8 +12,6 @@ void operator>>(const LexicalConverter &conv, PrimitiveType &pt) pt = POINTS; else if(conv.get()=="LINES") pt = LINES; - else if(conv.get()=="LINE_LOOP") - pt = LINE_LOOP; else if(conv.get()=="LINE_STRIP") pt = LINE_STRIP; else if(conv.get()=="TRIANGLES")