diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-26 13:40:31 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-26 13:40:31 +1000 |
commit | e0a047ac1e2cf18c3b0f23f31f869eeda767503e (patch) | |
tree | a14e3eccec6e845778798fe24acc4c85f8e4da4b /bindgen/rust/examples/main_loop.rs | |
parent | b28de1c7c87683b0645368f5393734f1db4ffd74 (diff) |
try getting glfw passthrough and egui to work
Diffstat (limited to 'bindgen/rust/examples/main_loop.rs')
-rw-r--r-- | bindgen/rust/examples/main_loop.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bindgen/rust/examples/main_loop.rs b/bindgen/rust/examples/main_loop.rs index 8da3e9a..4c54f8c 100644 --- a/bindgen/rust/examples/main_loop.rs +++ b/bindgen/rust/examples/main_loop.rs @@ -4,6 +4,9 @@ unsafe fn run_game() { // init Core_Bringup(); + let core = get_global_core(); + let glfw_window_ptr = Core_GetGlfwWindowPtr(core); + let camera_pos = Vec3 { x: 0.0, y: 2.0, @@ -30,13 +33,13 @@ unsafe fn run_game() { }; SetMainLight(sun); - let skybox = Skybox_Create(face_paths, 6); + // let skybox = Skybox_Create(face_paths, 6); // main loop while !ShouldExit() { Frame_Begin(); - Skybox_Draw(&mut skybox, camera); + // Skybox_Draw(&mut skybox, camera); Frame_End(); } |