So I'm trying to make my game fullscreen dynamically, Changing the width and height of the camera works but changing any information of the viewport doesn't do anything at all.
GML:
//changing viewport information, not working
view_enabled = true;
view_visible[0] = true;
view_wport[0] = display_get_width();
view_hport[0] = display_get_height();
//changing camera information, working
camera_set_view_size(view_camera[0], display_get_width(), display_get_height())