GCC compile fix.

This commit is contained in:
David Williams 2011-07-17 20:31:53 +01:00
parent cb0afb17f9
commit 19f3a8bf6e

View File

@ -84,7 +84,7 @@ namespace PolyVox
float fScaleY = srcHeight / dstHeight; float fScaleY = srcHeight / dstHeight;
float fScaleZ = srcDepth / dstDepth; float fScaleZ = srcDepth / dstDepth;
SrcVolumeType<VoxelType>::Sampler sampler(m_pVolSrc); typename SrcVolumeType<VoxelType>::Sampler sampler(m_pVolSrc);
for(int32_t dz = m_regDst.getLowerCorner().getZ(); dz <= m_regDst.getUpperCorner().getZ(); dz++) for(int32_t dz = m_regDst.getLowerCorner().getZ(); dz <= m_regDst.getUpperCorner().getZ(); dz++)
{ {