Open nagyf opened 5 years ago
I tried to debug this issue, but I'm not sure whats the problem. I get the following error when running with cargo run --release:
cargo run --release
thread 'main' panicked at 'gl function was not loaded', /Users/nagyf/dev/home/rust/rust-oids/target/release/build/gfx_gl-463b2bce8089bc7a/out/gl_bindings.rs:1506:13 stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace 1: std::sys_common::backtrace::_print 2: std::panicking::default_hook::{{closure}} 3: std::panicking::default_hook 4: std::panicking::rust_panic_with_hook 5: std::panicking::begin_panic 6: gfx_gl::missing_fn_panic 7: gfx_device_gl::tex::make_with_storage 8: <gfx_device_gl::factory::Factory as gfx_core::factory::Factory<gfx_device_gl::Resources>>::create_texture_raw 9: rust_oids::frontend::render::RenderFactoryExt::create_msaa_surfaces 10: <rust_oids::frontend::render::ForwardRenderer<'e, 'l, R, C, F, L>>::new 11: rust_oids::app::main::main_loop 12: rust_oids::app::run 13: rust_oids::main 14: std::rt::lang_start::{{closure}} 15: std::panicking::try::do_call 16: __rust_maybe_catch_panic 17: std::rt::lang_start_internal 18: main
Hi, I was unable to reproduce this.
Out of curiosity, what platform are you on? My hunch is that the OpenGL (hardware?) installed on your machine might be an unsupported version.
I tried to debug this issue, but I'm not sure whats the problem. I get the following error when running with
cargo run --release
: