1
0
Fork 0
forked from wry/wry

render: move take_render_ops to GfxFramebuffer

This commit is contained in:
Julian Orth 2023-10-23 20:04:57 +02:00
parent 074347c71d
commit 5778c49679
3 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,6 @@ use {
cell::{Cell, RefCell},
ffi::CString,
fmt::{Debug, Formatter},
mem,
rc::Rc,
},
uapi::ustr,
@ -203,10 +202,6 @@ impl GlRenderContext {
}
impl GfxContext for GlRenderContext {
fn take_render_ops(&self) -> Vec<GfxApiOpt> {
mem::take(&mut self.gfx_ops.borrow_mut())
}
fn reset_status(&self) -> Option<ResetStatus> {
self.reset_status()
}