Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88ba721

Browse files
committed
Resource window should be hidden.
1 parent0d187f5 commit88ba721

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎flutter-winit/src/window.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,11 @@ impl FlutterWindow {
9696

9797
pubfnwith_resource_context(self) ->Result<Self,Box<dynError>>{
9898
{
99+
let window =WindowBuilder::new().with_visible(false);
99100
let context =self.context.lock();
100101
let resource_context =ContextBuilder::new()
101102
.with_shared_lists(context.context().unwrap())
102-
.build_windowed(WindowBuilder::new(),&self.event_loop)?;
103+
.build_windowed(window,&self.event_loop)?;
103104

104105
let resource_context =unsafe{ resource_context.make_current().unwrap()};
105106
gl::load_with(|s| resource_context.get_proc_address(s));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp