Tidy up UI of magicleap app

This commit is contained in:
Alan Jeffrey 2018-11-28 15:45:59 -06:00
parent e4c80d0a88
commit 8de3f7c8f9
5 changed files with 58 additions and 25 deletions

View file

@ -376,8 +376,6 @@ impl WindowMethods for WindowInstance {
fn prepare_for_composite(&self) -> bool {
MakeCurrent(self.disp, self.surf, self.surf, self.ctxt);
self.gl
.viewport(0, 0, self.width as i32, self.height as i32);
true
}