Fix seek bug. Fixes issue 144.
This commit is contained in:
parent
874b087b43
commit
e70de27d12
|
@ -6,6 +6,7 @@ NVIDIA Texture Tools version 2.0.9
|
||||||
* Add an XNA Game Studio 3.1 Content Processor to make it easy to utilize NVIDIA Texture Tools in XNA applications.
|
* Add an XNA Game Studio 3.1 Content Processor to make it easy to utilize NVIDIA Texture Tools in XNA applications.
|
||||||
* Fix single color DXT1a compressor. Fixes issue 134.
|
* Fix single color DXT1a compressor. Fixes issue 134.
|
||||||
* Fix mirror sampling. Fixes issue 135.
|
* Fix mirror sampling. Fixes issue 135.
|
||||||
|
* Fix seek bug. Fixes issue 144.
|
||||||
|
|
||||||
NVIDIA Texture Tools version 2.0.8
|
NVIDIA Texture Tools version 2.0.8
|
||||||
* Fix float to fixed image conversion. Patch provided by Alex Pfaffe. Fixes issue 121.
|
* Fix float to fixed image conversion. Patch provided by Alex Pfaffe. Fixes issue 121.
|
||||||
|
|
|
@ -50,7 +50,7 @@ public:
|
||||||
virtual void seek( uint pos )
|
virtual void seek( uint pos )
|
||||||
{
|
{
|
||||||
nvDebugCheck(m_fp != NULL);
|
nvDebugCheck(m_fp != NULL);
|
||||||
nvDebugCheck(pos < size());
|
nvDebugCheck(pos <= size());
|
||||||
fseek(m_fp, pos, SEEK_SET);
|
fseek(m_fp, pos, SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user