urho3d/urho3d

54_WindowSettingsDemo: Resizable flag works only on OpenGL

1vanK opened this issue · 3 comments

1vanK commented
54_WindowSettingsDemo: Resizable flag works only on OpenGL
1vanK commented

The sample uses deprecated function graphics->SetMode()

1vanK commented

bool SetScreenMode(int width, int height, const ScreenModeParams& params, bool maximize = false); also not changes resizable for already created window on D3D9 & D3D11

AFAIK it's just impossible to change resizability on the fly.
OpenGL cannot change anything at all in created context, so it just recreates window with new params.
We can recreate windows for DX9/11 as well.