X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprimitivebuilder.cpp;h=e032a441c00603062e750eb9367c2025c4023e1c;hp=95faa3fb5f74aee13e63f392bda69e4871d700e5;hb=b617c5d7b5283ad260a77f01e42e6170cabbc03d;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8 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_(); }