mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[tm_converter2] Fix swapped width and height.
This commit is contained in:
parent
01121ae523
commit
34630347b0
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ void convert(const path &fn)
|
|||
}
|
||||
|
||||
auto save = [&](auto &&sub) {
|
||||
cv::Mat m(tm.width, tm.height, CV_8UC4);
|
||||
cv::Mat m(tm.height, tm.width, CV_8UC4);
|
||||
if (tm.dxt5_compression) {
|
||||
// this have some one off results
|
||||
// probaby we did different rounding in current (v1) impl
|
||||
|
|
|
|||
Loading…
Reference in a new issue