chore: Fix webview example (#1360)
This commit is contained in:
parent
32b8d65075
commit
8a63fd67ab
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ impl Render for Example {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
#[cfg(target_os = "windows")]
|
||||
unsafe {
|
||||
std::env::set_var("GPUI_DISABLE_DIRECT_COMPOSITION", "true");
|
||||
}
|
||||
let app = Application::new().with_assets(Assets);
|
||||
|
||||
app.run(move |cx| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue