X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprimitivebuilder.cpp;h=e032a441c00603062e750eb9367c2025c4023e1c;hb=7e9e15a12fb398798f2719545cc8553354c1e389;hp=95faa3fb5f74aee13e63f392bda69e4871d700e5;hpb=2508306f82675546be3c98e1eb556bae62ed2ccd;p=libs%2Fgl.git diff --git a/source/primitivebuilder.cpp b/source/primitivebuilder.cpp index 95faa3fb..e032a441 100644 --- a/source/primitivebuilder.cpp +++ b/source/primitivebuilder.cpp @@ -21,8 +21,8 @@ void PrimitiveBuilder::begin(PrimitiveType t) if(in_batch) throw InvalidState("begin() already called"); - type=t; - in_batch=true; + type = t; + in_batch = true; begin_(); } @@ -32,7 +32,7 @@ void PrimitiveBuilder::end() if(!in_batch) throw InvalidState("end() called without begin()"); - in_batch=false; + in_batch = false; end_(); }