I got an error in rust using wgpu and winit. To be more precise my error comes up in the eventloop part
I want to make my own game engine and for that I want that the user later on can use these traits I created to define the game logic and rendering to the screen. Also it should be fairly easy to create the window.
Cannot create wgpu surface due to lifetime constraint
I am updating a project to the newest WGPU version which adds a lifetime parameter to wgpu::Surface<'window>
that is causing me problems with the trait winit exposes for the window initialization winit::application::ApplicationHandler
.
Cannot create wgpu surface due to lifetime constaint
I am updating a project to the newest WGPU version which adds a lifetime parameter to wgpu::Surface<'window>
that is causing me problems with the trait winit exposes for the window initialization winit::application::ApplicationHandler
.