Skip to content

Commit db27370

Browse files
committed
Merge pull request rust-windowing#10 from glennw/fix-retina-initial
Fixes initial display positioning of viewport on retina screens.
2 parents 47d4e81 + 66ee5b9 commit db27370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/osx/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ impl Window {
463463
}
464464

465465
pub unsafe fn make_current(&self) {
466+
let _: id = msg_send()(self.context, selector("update"));
466467
self.context.makeCurrentContext();
467468
}
468469

0 commit comments

Comments
 (0)