You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to test out the desktop example with cargo 1.74.1 I'm getting an assertion error that appears to be because gl::GetError() is returning 1281. 1281 is 0x0501, which appears to be GL_INVALID_VALUE
Here is the backtrace:
thread 'main' panicked at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gameboy-0.1.1/src/screen/desktop.rs:309:13:
assertion `left == right` failed
left: 1281
right: 0
stack backtrace:
0: rust_begin_unwind
at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:597:5
1: core::panicking::panic_fmt
at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:72:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:270:5
4: gameboy::screen::desktop::Glcx::draw
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gameboy-0.1.1/src/screen/desktop.rs:309:13
5: gameboy::gameboy::Gameboy::render_desktop::{{closure}}
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gameboy-0.1.1/src/gameboy.rs:131:21
6: winit::platform_impl::platform::sticky_exit_callback
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/platform_impl/linux/mod.rs:753:5
7: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/platform_impl/linux/wayland/event_loop/mod.rs:394:21
8: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/platform_impl/linux/wayland/event_loop/mod.rs:209:9
9: winit::platform_impl::platform::EventLoop<T>::run
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/platform_impl/linux/mod.rs:669:56
10: winit::event_loop::EventLoop<T>::run
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.1/src/event_loop.rs:154:9
11: gameboy::gameboy::Gameboy::render_desktop
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gameboy-0.1.1/src/gameboy.rs:118:9
12: gameboy::gameboy::Gameboy::render
at /home/eeems/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gameboy-0.1.1/src/gameboy.rs:82:17
13: desktop::main
at ./bin.rs:8:9
14: core::ops::function::FnOnce::call_once
at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ops/function.rs:250:5
The text was updated successfully, but these errors were encountered:
When trying to test out the desktop example with cargo 1.74.1 I'm getting an assertion error that appears to be because
gl::GetError()
is returning 1281. 1281 is 0x0501, which appears to be GL_INVALID_VALUEHere is the backtrace:
The text was updated successfully, but these errors were encountered: