Only bind custom attributes when the vertex program source includes them. This has the following effects: - Fixes warnings of the form 'WARNING: Could not find vertex shader attribute 'vertex' to match BindAttributeLocation request.' when using GLSL. - Also prevents binding of custom attributes interfering with GLSL programs that used one of the reserved names in another context, such as a varying - Fixes some 'Invalid Enumerant' errors
Only bind custom attributes when the vertex program source includes them. This has the following effects:
- Fixes warnings of the form 'WARNING: Could not find vertex shader attribute 'vertex' to match BindAttributeLocation request.' when using GLSL.
- Also prevents binding of custom attributes interfering with GLSL programs that used one of the reserved names in another context, such as a varying
- Fixes some 'Invalid Enumerant' errors

OGRECave/ogre,paroj/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,paroj/ogre,paroj/ogre,OGRECave/ogre,paroj/ogre,RealityFactory/ogre,OGRECave/ogre,OGRECave/ogre,paroj/ogre,OGRECave/ogre