]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/primitivetype.cpp
Fix reflection of image types from Spir-V modules
[libs/gl.git] / source / core / primitivetype.cpp
index 81375843c9f649609e4ef2c7e60873eca3534dfa..7698e2d65e0fcf916cfb70d4ac228e60830a1f97 100644 (file)
@@ -1,6 +1,8 @@
 #include <msp/strings/format.h>
 #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")