to get rid of the red in functions instead i leave the struct without the body. e.g. fn new(window: &'a Window) -> Self { println!("abc"); // no errors here State // error here }
It's behaving a bit differently on windows. I was able to resize the window without the WindowEvent::Resized line, but without it, the word "Outdated" was printed in the terminal as error when the window is resized. You know what it means?
Usually the outdated error means the swapchain needs to be recreated. The OS might be doing some work for you to keep displaying the resized window with the original surface, but it probably needs the resize functionality still.
We should use `find` instead of `filter` + `next` to make our intent (find a texture format) more explicit.
Loving the backgrounds, but I think the window opacity could be a tad bit higher
been waiting for this video, appreciate it so much thanks dude
Hey bro could you make a video explaining on notebook the logic behind diffuse lighting on opengl
to get rid of the red in functions instead i leave the struct without the body. e.g.
fn new(window: &'a Window) -> Self {
println!("abc"); // no errors here
State // error here
}
As long as it doesn't turn into a waiting screen between places from Starfield... 😏
💪
It's behaving a bit differently on windows. I was able to resize the window without the WindowEvent::Resized line, but without it, the word "Outdated" was printed in the terminal as error when the window is resized. You know what it means?
Usually the outdated error means the swapchain needs to be recreated. The OS might be doing some work for you to keep displaying the resized window with the original surface, but it probably needs the resize functionality still.
@@GetIntoGameDev ok understood. Thanks