add parent window setting when creating windows with glutin

needed for embedding api usage
This commit is contained in:
Mike Blumenkrantz 2015-05-08 21:15:07 -04:00
parent f4381a6f1e
commit 16a9712ab7
4 changed files with 9 additions and 6 deletions

View file

@ -53,7 +53,7 @@ fn main() {
let window = if opts::get().headless {
None
} else {
Some(app::create_window())
Some(app::create_window(std::ptr::null_mut()))
};
// Our wrapper around `Browser` that also implements some