X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fimmediate.cpp;h=cf1be08ed7204209d0d572b851ce76b7c58469ff;hb=HEAD;hp=8e761f4329c4c5cec8921d62753849fb5ff98e2d;hpb=d1800d7ea80290f4913d0203241cef1409656522;p=libs%2Fgl.git diff --git a/source/immediate.cpp b/source/immediate.cpp deleted file mode 100644 index 8e761f43..00000000 --- a/source/immediate.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#include "immediate.h" - -namespace Msp { -namespace GL { - -Immediate::Immediate(VertexFormat f): - PrimitiveBuilder(array), - array(f) -{ } - -void Immediate::end_() -{ - array.apply(); - glDrawArrays(type, 0, array.size()); - - array.clear(); -} - -} // namespace GL -} // namespace Msp