Fixed warnings.

This commit is contained in:
Robert Osfield
2006-07-04 11:24:36 +00:00
parent 0170689c9d
commit c8aec2a07d
11 changed files with 108 additions and 105 deletions

View File

@@ -126,7 +126,7 @@ osg::Vec4f DataInputStream::readColor32()
uint8 green = readUInt8();
uint8 red = readUInt8();
osg::Vec4f color((float)red/255,(float)green/255,(float)blue/255,1);
osg::Vec4f color((float)red/255,(float)green/255,(float)blue/255,(float)alpha/255);
return color;
}