autocommit 2022-04-21 18:25:34 CEST
This commit is contained in:
parent
0d414a5336
commit
32fe8b64ca
8 changed files with 133 additions and 28 deletions
|
|
@ -24,6 +24,7 @@ use {
|
|||
},
|
||||
uapi::ustr,
|
||||
};
|
||||
use crate::render::egl::display::EglFormat;
|
||||
|
||||
pub(super) struct TexProg {
|
||||
pub(super) prog: GlProgram,
|
||||
|
|
@ -116,7 +117,7 @@ impl RenderContext {
|
|||
self.render_node.clone()
|
||||
}
|
||||
|
||||
pub fn formats(&self) -> Rc<AHashMap<u32, &'static Format>> {
|
||||
pub fn formats(&self) -> Rc<AHashMap<u32, EglFormat>> {
|
||||
self.ctx.dpy.formats.clone()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue