Updated change log.

From Fredric Marmond, changed unsigned int to unsigned long to avoid compile errors under 64 bit compile.
This commit is contained in:
Robert Osfield
2005-05-25 15:35:51 +00:00
parent 55d170d4fd
commit 2b08f729f3
3 changed files with 65 additions and 7 deletions

View File

@@ -438,10 +438,10 @@ bool Geometry::empty() const
void Geometry::setTexCoordData(unsigned int unit,const ArrayData& arrayData)
{
if (_texCoordList.size()<=unit)
_texCoordList.resize(unit+1);
_texCoordList[unit] = arrayData;
if (_texCoordList.size()<=unit)
_texCoordList.resize(unit+1);
_texCoordList[unit] = arrayData;
}
Geometry::ArrayData& Geometry::getTexCoordData(unsigned int unit)
@@ -896,7 +896,7 @@ void Geometry::drawImplementation(State& state) const
//std::cout << " gen VertexBuffer "<<buffer<<std::endl;
// compute total size and offsets required.
unsigned int totalSize = 0;
unsigned long totalSize = 0;
_vertexData.offset = 0;
if (_vertexData.array.valid()) totalSize += _vertexData.array->getTotalDataSize();