Changed the way samplers are used for a minor speed improvement.

This commit is contained in:
David Williams
2015-05-25 12:05:15 +02:00
parent f4941fb73c
commit ecc06ba986
2 changed files with 26 additions and 19 deletions

View File

@ -277,7 +277,6 @@ namespace PolyVox
//The volume data and a sampler to access it.
VolumeType* m_volData;
typename VolumeType::Sampler m_sampVolume;
//The surface patch we are currently filling.
MeshType* m_meshCurrent;