From Paul Martz, "A recent change to add the new geometry shader primitive types has broken the build on Windows. On Windows, those types are declared in the header GL2Extensions, but the PrimitiveSet header (which uses those types) fails to include that header, causing compile errors.

Attached is a version of PrimitiveSet that includes GL2Extensions."
This commit is contained in:
Robert Osfield 2009-10-11 05:52:11 +00:00
parent 98b36d202c
commit f479eb174c

View File

@ -24,6 +24,7 @@
#include <osg/Vec3d> #include <osg/Vec3d>
#include <osg/Vec4d> #include <osg/Vec4d>
#include <osg/MixinVector> #include <osg/MixinVector>
#include <osg/GL2Extensions>
#include <osg/BufferObject> #include <osg/BufferObject>