Fix seek bug. Fixes issue 144.

pull/216/head
castano 14 years ago
parent bd74a9ffc6
commit f0bcbdca5c

@ -59,7 +59,7 @@ namespace nv
virtual void seek( uint pos )
{
nvDebugCheck(m_fp != NULL);
nvDebugCheck(pos < size());
nvDebugCheck(pos <= size());
#if NV_OS_WIN32
_fseek_nolock(m_fp, pos, SEEK_SET);
#elif NV_OS_LINUX

Loading…
Cancel
Save