do not use D3D9Ex if no v3 shader or dynamic texture support (workaround for some older cards that may not be fully compatible)
added workaround for weird display drivers that don´t allow changing to 50Hz Direct3D fullscreen but accept it if identical directdraw fullscreen mode is already open