From 26aea540f34ef4c68a02f053bacd056bfe525a7f Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Sun, 17 Jul 2011 13:37:02 +0200 Subject: [PATCH] Fix compilation on Linux. --- library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl index 8969a483..6842c78f 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl @@ -84,7 +84,7 @@ namespace PolyVox float fScaleY = srcHeight / dstHeight; float fScaleZ = srcDepth / dstDepth; - SrcVolumeType::Sampler sampler(m_pVolSrc); + typename SrcVolumeType::Sampler sampler(m_pVolSrc); for(int32_t dz = m_regDst.getLowerCorner().getZ(); dz <= m_regDst.getUpperCorner().getZ(); dz++) {