Nothing appears on screen except purple (The clear color)
The Rust Programming Language Forum
Nothing appears on screen except purple (The clear color)
main.rs: use std::sync::Arc; use bumpalo::Bump; use winit::{ application::ApplicationHandler, event::WindowEvent, event_loop::{ActiveEventLoop, ControlFlow, EventLoop}, window::{WindowAttributes, WindowId}, }; mod rendering; use rendering::*; mod object; use object::*; mod camera; #[tokio::main] async fn main() -> anyhow::Result<()> { let el = EventLoop::new()?; let bump = Bump::with_capacity(1000000); el.set_control_flow(ControlFlow::Poll); let mut ws = Windo...
0 comments
No comments yet.