gwaldron/osgearth — pull request #194 by rolandhill (2012-08-08 06:16:41+00:00)
Title: Add guard to osg_TexCoord declaration to ensure array not declared with size 0

Prevents osg_TexCoord[] being declared with size 0 if no textures are in use. This might not happen under normal usage, but can occur if osgEarth is forced to always use shaders even if there are no textures (as in my case).