Skip to content

Commit

Permalink
Fixed duplicate mipmaps if one input was compressed and the other wasn't
Browse files Browse the repository at this point in the history
  • Loading branch information
dedmen committed Sep 14, 2019
1 parent b384490 commit e7f905d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MipMapTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "TextureFile.hpp"

void printStart() {
std::cout << "MipMap Tool v5 OwO\n";
std::cout << "MipMap Tool v6 OwO\n";
}
#include <windows.h>
void printHelp() {
Expand Down Expand Up @@ -165,7 +165,7 @@ int main(int argc, char* argv[]) {

for (auto& texture : textures) {
for (auto& mipmap : texture->mipmaps) {
mipmaps.insert_or_assign(mipmap->width, mipmap);
mipmaps.insert_or_assign(mipmap->height, mipmap);
}
}

Expand Down

0 comments on commit e7f905d

Please sign in to comment.