Open RustamC opened 1 year ago
Hi! I've tried to run the simpliest bare-bones nannou app that opens an empty window from the Guide and got a panic:
cargo new barebone_nannout cd barebone_nannout cargo add nannou
main.rs
use nannou::prelude::*; struct Model {} fn main() { nannou::app(model) .event(event) .simple_window(view) .run(); } fn model(_app: &App) -> Model { Model {} } fn event(_app: &App, _model: &mut Model, _event: Event) { } fn view(_app: &App, _model: &Model, _frame: Frame) { }
$env:RUST_BACKTRACE=1; cargo run --release
Hi! I've tried to run the simpliest bare-bones nannou app that opens an empty window from the Guide and got a panic:
Error log:
```log thread 'main' panicked at 'wgpu error: Out of Memory ', C:\Users\user1\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-0.11.1\src\backend\direct.rs:2195:5 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579 1: core::panicking::panic_fmt at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64 2: core::ops::function::Fn::call 3:System configuration
Steps to reproduce:
main.rs
an example of bare-bones nannou app that opens an empty window from the Guide:Source code: