fixed wrong pointer with scalar bug

This commit is contained in:
Jeff Hill
2002-09-19 16:56:35 +00:00
parent ce6ec6c0db
commit 04a3d585d4
+2 -2
View File
@@ -1352,8 +1352,8 @@ gddStatus gdd::put ( const gdd * dd )
pDst += byteCount;
}
aitUint8* pSrc = (aitUint8*) dd->dataPointer();
pSrc += aitSize[primitiveType()] * unusedSrcBelow;
aitUint8* pSrc = (aitUint8*) dd->dataVoid();
pSrc += aitSize[dd->primitiveType()] * unusedSrcBelow;
int gddStatus = aitConvert (this->primitiveType(), pDst,
dd->primitiveType(), pSrc, srcCopySize);
if ( gddStatus < 0 ) {