vulkan-tutorial-rust icon indicating copy to clipboard operation
vulkan-tutorial-rust copied to clipboard

Resize seems not working

Open caxieyou opened this issue 3 years ago • 1 comments

the resize window size is const in Rust, so i suppose it's not changed according to the new size also the callback function about if the window size is changed never actually works which means the is_framebuffer_resized flag is always false

caxieyou avatar Apr 23 '22 11:04 caxieyou

You can explicitly set is_framebuffer_resized when is windows resized. WindowEvent::Resized(new_size) => { self.is_framebuffer_resized = true; }

DotrixXP avatar Sep 17 '23 10:09 DotrixXP