From 5cbd785f78efe90f7fa28c123007a5d00efb78ff Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 4 Sep 2015 14:50:27 +0000 Subject: [PATCH] From Laurens Voerman, "I crashed osgconv while compressing textures: osgconv --compressed-dxt1 cow.osg cow.ive due to different handling of the extentions in osg 3.4 and up. attached is a zip with the files: OpenSceneGraph\applications\osgconv\osgconv.cpp This file is valid for svn branch and stable3.4." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15123 16af8721-9629-0410-8352-f15c8da7e697 --- applications/osgconv/osgconv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/osgconv/osgconv.cpp b/applications/osgconv/osgconv.cpp index b614a1b29..05ac94f57 100644 --- a/applications/osgconv/osgconv.cpp +++ b/applications/osgconv/osgconv.cpp @@ -157,6 +157,7 @@ public: } osg::ref_ptr state = new osg::State; + state->initializeExtensionProcs(); for(TextureSet::iterator itr=_textureSet.begin(); itr!=_textureSet.end();