diff --git a/engine/dynamic/render_opengl_rust/Cargo.toml b/engine/dynamic/render_opengl_rust/Cargo.toml index bf588af5..d645ff96 100644 --- a/engine/dynamic/render_opengl_rust/Cargo.toml +++ b/engine/dynamic/render_opengl_rust/Cargo.toml @@ -11,13 +11,12 @@ crate-type = ["cdylib"] lazy_static = "1.5.0" libc = "0.2" num_enum = "0.7" +glslang = { path = "../../../external-bindings/glslang" } +spirv-cross-sys = { path = "../../../external-bindings/spirv-cross" } argus_scripting_bind = { path = "../../libs/scripting_bind" } core_rustabi = { path = "../../auxiliary/core_rustabi" } lowlevel_rustabi = { path = "../../auxiliary/lowlevel_rustabi" } render_rustabi = { path = "../../auxiliary/render_rustabi" } resman_rustabi = { path = "../../auxiliary/resman_rustabi" } -scripting_rs = { path = "../../static/scripting_rs" } -scripting_rustabi = { path = "../../auxiliary/scripting_rustabi" } shadertools = { path = "../../libs/shadertools", default-features = false } -spirv-cross-sys = { path = "../../../external-bindings/spirv-cross" } wm_rustabi = { path = "../../auxiliary/wm_rustabi" } diff --git a/engine/dynamic/render_opengl_rust/src/argus/render_opengl_rust/module_init.rs b/engine/dynamic/render_opengl_rust/src/argus/render_opengl_rust/module_init.rs index 09037d18..164d498f 100644 --- a/engine/dynamic/render_opengl_rust/src/argus/render_opengl_rust/module_init.rs +++ b/engine/dynamic/render_opengl_rust/src/argus/render_opengl_rust/module_init.rs @@ -25,8 +25,6 @@ use core_rustabi::argus::core::*; use lazy_static::lazy_static; use render_rustabi::argus::render::*; use resman_rustabi::argus::resman::{ResourceEvent, ResourceEventType, ResourceManager}; -use scripting_rs::register_script_bindings; -use scripting_rustabi::argus::scripting::script_bind; use wm_rustabi::argus::wm::*; use crate::aglet::{AgletError, agletLoadCapabilities}; use crate::argus::render_opengl_rust::gl_renderer::GlRenderer; @@ -201,9 +199,6 @@ pub extern "C" fn update_lifecycle_render_opengl_rust( TargetThread::Render, Ordering::Standard ); - - println!("Registering script bindings for render_opengl_rust"); - register_script_bindings(); } LifecycleStage::PostInit => { if !is_backend_active() { diff --git a/engine/dynamic/render_opengl_rust/src/lib.rs b/engine/dynamic/render_opengl_rust/src/lib.rs index 026b034b..31eefec1 100644 --- a/engine/dynamic/render_opengl_rust/src/lib.rs +++ b/engine/dynamic/render_opengl_rust/src/lib.rs @@ -16,5 +16,7 @@ * along with this program. If not, see . */ +extern crate glslang; + pub(crate) mod aglet; pub(crate) mod argus;