Open GoogleCodeExporter opened 9 years ago
I've reproduced this in the latest (development) version. crnlib's DDS reader
is in dds_texture::read_dds_internal(). It looks like this function is failing
to handle non-DXTc files which use dwLinearSize vs. lPitch:
dwSize 124 unsigned int
dwFlags 528391 unsigned int
dwHeight 52 unsigned int
dwWidth 52 unsigned int
lPitch 10816 int
dwLinearSize 10816 unsigned int
dwFlags is 0x00081007, and DDSD_LINEARSIZE is 0x00080000, but lPitch and
dwLinearSize are unioned.
The fix should be pretty easy. I'll fix the latest development version first.
Thanks a bunch for the report.
Original comment by richge...@gmail.com
on 11 Aug 2012 at 8:01
Just grabbed the source using svn and it seems this bug has not been fixed,
should I expect it to be fixed?
Original comment by christia...@gmail.com
on 24 Oct 2012 at 12:03
Hi Christian - Yes, I've fixed this in my local development branch. Apologies
for the delay, I've been pretty slammed with other projects, so I haven't had
much time to work on crunch a whole lot. I'll try to release my current devel
version to a branch in SVN within the week.
Original comment by richge...@gmail.com
on 24 Oct 2012 at 4:42
Or you could zip it up and dropbox it for me...
Original comment by christia...@gmail.com
on 24 Oct 2012 at 5:21
I've checked the latest code into SVN. This problem is hopefully fixed.
Original comment by richge...@gmail.com
on 25 Nov 2012 at 9:01
Original issue reported on code.google.com by
christia...@gmail.com
on 25 Jul 2012 at 6:55Attachments: