Fixes for .osg output of UByte4 values, and added missing template contructor

to DrawElementsUShort.
This commit is contained in:
Robert Osfield
2003-09-16 19:54:57 +00:00
parent e7b1edef56
commit cec0b35cd4
3 changed files with 10 additions and 5 deletions

View File

@@ -524,7 +524,7 @@ Array* Array_readLocalData(Input& fr)
fr[2].getUInt(b) &&
fr[3].getUInt(a))
{
++fr;
fr+=4;
array->push_back(osg::UByte4(r,g,b,a));
}
else ++fr;