Stuff
Some checks failed
book / deploy (push) Has been cancelled
CI / test (macos-latest) (push) Has been cancelled
CI / test (ubuntu-latest) (push) Has been cancelled
CI / test (windows-latest) (push) Has been cancelled
CI / all-doc-tests (push) Has been cancelled
CI / lint (push) Has been cancelled

This commit is contained in:
2026-02-20 22:06:28 +01:00
parent d422e14cf8
commit d39602eb0e
18 changed files with 59 additions and 266 deletions

View File

@@ -10,7 +10,16 @@ use bevy_cef::prelude::*;
fn main() {
App::new()
.add_plugins((DefaultPlugins, CefPlugin::default()))
.add_plugins((
DefaultPlugins,
CefPlugin {
command_line_config: CommandLineConfig {
switches: ["--in-process-gpu"].to_vec(),
..Default::default()
},
..Default::default()
},
))
.add_systems(
Startup,
(spawn_camera, spawn_directional_light, spawn_webview),