- Fixing DDS reader so it doesn't require the source pitch/linear size field to be divisible by 4
- Fixing DDS writer so it writes a non-zero pitch/linearsize field (a few DDS readers in the wild require this field to be set) - Fixing example2.cpp and example3.cpp so they write non-zero pitch/linearsize fields. - Misc merges from the ddsexport branch - Adding -usesourceformat command line option, useful when reprocessing a lot of existing DDS files.
This commit is contained in:
@@ -60,7 +60,8 @@ namespace crnlib
|
||||
m_no_stats(false),
|
||||
m_lzma_stats(false),
|
||||
m_status(false),
|
||||
m_canceled(false)
|
||||
m_canceled(false),
|
||||
m_use_source_format(false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@ namespace crnlib
|
||||
bool m_debugging;
|
||||
bool m_param_debugging;
|
||||
bool m_no_stats;
|
||||
bool m_use_source_format;
|
||||
|
||||
bool m_lzma_stats;
|
||||
mutable bool m_status;
|
||||
|
||||
Reference in New Issue
Block a user