multigpu: initialize format, when adding mapping to empty MultiTexture

This commit is contained in:
Victoria Brekenfeld 2023-05-24 21:26:18 +02:00
parent 24d4f3e100
commit a600f3e4d7

View file

@ -1400,6 +1400,7 @@ impl MultiTexture {
warn!(has = ?format, got = ?mapping_fmt, "Multi-SubTexture Mapping with wrong format!");
false
} else {
tex.format = Some(mapping_fmt);
true
}
})