Skip to content

Commit

Permalink
render_opengl_rust: Remove references to scripting modules
Browse files Browse the repository at this point in the history
They aren't currently needed and they're causing linking issues on
certain systems.
  • Loading branch information
caseif committed Dec 11, 2024
1 parent 54750f9 commit 30c6704
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions engine/dynamic/render_opengl_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 2 additions & 0 deletions engine/dynamic/render_opengl_rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

extern crate glslang;

pub(crate) mod aglet;
pub(crate) mod argus;

0 comments on commit 30c6704

Please sign in to comment.