1
0
Fork 0
forked from wry/wry

metal: scan out in more circumstances

This commit is contained in:
Julian Orth 2024-02-23 14:59:42 +01:00
parent 9e3ad38948
commit 58cdfbcb26
10 changed files with 169 additions and 22 deletions

View file

@ -29,6 +29,7 @@ impl Image {
ctx: self.ctx.clone(),
gl: GlTexture::import_img(&self.ctx.ctx, &self.gl)?,
resv: Default::default(),
format: self.gl.dmabuf.format,
}))
}