Track the issue of keeping the GL context current

This commit is contained in:
Simon Hausmann 2020-05-07 20:42:28 +02:00
parent 3d1df6178e
commit f55c4e50f0
2 changed files with 1 additions and 2 deletions

View file

@ -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);