X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbatch.cpp;h=385b4697085f6215e075344ac9a980007212e193;hb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1;hp=df4e2fb828e0102989abd2ddacb069f59a33d3a9;hpb=cea3c333797cadd9629aefaa5b82243173a02d16;p=libs%2Fgl.git diff --git a/source/batch.cpp b/source/batch.cpp index df4e2fb8..385b4697 100644 --- a/source/batch.cpp +++ b/source/batch.cpp @@ -5,8 +5,9 @@ Copyright © 2007 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ -#define GL_GLEXT_PROTOTYPES #include "batch.h" +#include "extension.h" +#include "version_1_2.h" using namespace std; @@ -17,7 +18,9 @@ Batch::Batch(PrimitiveType t): type(t), min_index(0), max_index(0) -{ } +{ + require_version(1, 2); +} Batch &Batch::append(uint i) {