Open diverlin opened 6 years ago
it looks like it's issue of SDL2, but i am not sure. when we resize the central widget size of QWidget which is used as external window for Urho3D, then SDL2 internally by using method SDL_GetWindowSize(window, &w, &h) is not able to fetch the actual size anymore. and due to this the Urho3D render area is not change it's size to fit the new size of QWidget. There is only one way to change the render area size is to apply fix size for QWIdget before Urho3D engine initialization (used currently as workaround)
also render area occupy not full space of QWidget at start