mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
multigpu: initialize format, when adding mapping to empty MultiTexture
This commit is contained in:
parent
24d4f3e100
commit
a600f3e4d7
1 changed files with 1 additions and 0 deletions
|
@ -1400,6 +1400,7 @@ impl MultiTexture {
|
||||||
warn!(has = ?format, got = ?mapping_fmt, "Multi-SubTexture Mapping with wrong format!");
|
warn!(has = ?format, got = ?mapping_fmt, "Multi-SubTexture Mapping with wrong format!");
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
|
tex.format = Some(mapping_fmt);
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue