Don't disallow mismatching texture sizes (Jubeat only)

This commit is contained in:
Will Toohey 2023-08-24 20:03:29 +10:00
parent 0b21f310b5
commit e854e0ace5

View File

@ -366,10 +366,9 @@ bool Texbin::add_or_replace_image(const char *image_name, const char *png_path)
if(existing_image != images.end()) {
auto [w, h] = existing_image->second.peek_dimensions();
if(width != w || height != h) {
log_info("Replacement image %s has dimensions %dx%d but original is %dx%d, ignoring",
log_info("Replacement image %s has dimensions %dx%d but original is %dx%d, repacking anyway",
image_name, width, height, w, h
);
return false;
}
log_info("Replacing %s", image_name);