X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprimitivetype.cpp;h=0872f7760ae549b4ea7bdcc11779d7f27595e48b;hp=c11a59f7fd1da1e067f50893e1a4a407756a9c29;hb=b617c5d7b5283ad260a77f01e42e6170cabbc03d;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8 diff --git a/source/primitivetype.cpp b/source/primitivetype.cpp index c11a59f7..0872f776 100644 --- a/source/primitivetype.cpp +++ b/source/primitivetype.cpp @@ -16,25 +16,25 @@ std::istream &operator>>(std::istream &in, PrimitiveType &pt) in>>str; if(str=="POINTS") - pt=POINTS; + pt = POINTS; else if(str=="LINES") - pt=LINES; + pt = LINES; else if(str=="LINE_LOOP") - pt=LINE_LOOP; + pt = LINE_LOOP; else if(str=="LINE_STRIP") - pt=LINE_STRIP; + pt = LINE_STRIP; else if(str=="TRIANGLES") - pt=TRIANGLES; + pt = TRIANGLES; else if(str=="TRIANGLE_STRIP") - pt=TRIANGLE_STRIP; + pt = TRIANGLE_STRIP; else if(str=="TRIANGLE_FAN") - pt=TRIANGLE_FAN; + pt = TRIANGLE_FAN; else if(str=="QUADS") - pt=QUADS; + pt = QUADS; else if(str=="QUAD_STRIP") - pt=QUAD_STRIP; + pt = QUAD_STRIP; else if(str=="POLYGON") - pt=POLYGON; + pt = POLYGON; else in.setstate(std::ios_base::failbit);