mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
Track the issue of keeping the GL context current
This commit is contained in:
parent
3d1df6178e
commit
f55c4e50f0
2 changed files with 1 additions and 2 deletions
|
@ -376,8 +376,6 @@ impl GraphicsBackend for GLRenderer {
|
|||
}
|
||||
|
||||
fn new_frame(&mut self, width: u32, height: u32, clear_color: &Color) -> GLFrame {
|
||||
// ### FIXME: make_current
|
||||
|
||||
unsafe {
|
||||
self.context.viewport(0, 0, width as i32, height as i32);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue