fix(core): Check same-device for external texture planes (#10636)

This commit is contained in:
Andy Leiserson authored and GitHub committed 2026-10-20 16:56:33 +00:00
1 parent e084b66aab
commit 0342e2fba5
1 file changed
+2
+2
View File
@@ -2321,6 +2321,8 @@ impl Device {
.iter()
.enumerate()
.map(|(i, plane)| {
plane.same_device(self)?;
if plane.samples != 1 {
return Err(CreateExternalTextureError::InvalidPlaneMultisample(
plane.samples,