From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the _internalFormat for the texture format to read rather than default to GL_RGBA.
From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the
_internalFormat for the texture format to read rather than default to GL_RGBA.

From Robert Osfield, changed the osg::Texture2D::copyTexImage2D and copyTexSubImage
code so that it set the _internalFormat to GL_RGBA if is is zero.


XiaoCC/osg,omega-hub/osg,ntoand/osg,koshman86/osg,omega-hub/osg,koshman86/osg,stmh/osg,artoolkit/osg,artoolkit/osg,XiaoCC/osg,stmh/osg,stmh/osg,ntoand/osg,stmh/osg,ghub/osg,stmh/osg,omega-hub/osg,ntoand/osg,artoolkit/osg,XiaoCC/osg,ghub/osg,XiaoCC/osg,omega-hub/osg,koshman86/osg,ntoand/osg,XiaoCC/osg,koshman86/osg,ghub/osg,ghub/osg,artoolkit/osg