]> git.tdb.fi Git - libs/gl.git/blobdiff - source/batch.cpp
Windows compatibility:
[libs/gl.git] / source / batch.cpp
index df4e2fb828e0102989abd2ddacb069f59a33d3a9..385b4697085f6215e075344ac9a980007212e193 100644 (file)
@@ -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)
 {