So I am playing around with Game Maker studio, and when I start a game in fullscreen 1920x1080, and then set it to windowed mode and then resizes the window to 640x480, it will only result in a 640x480 view stretched out over a 1920x1080 window.
This is the relevant part:
view_wview = global.res_h; view_hview = global.res_v; view_wport = global.res_h; view_hport = global.res_v; window_set_fullscreen(global.res_f); window_set_size(global.res_h,global.res_v);
In this case, global.res_f is set to 0, global.res_h is set to 640 and global.res_v is set to 480.
Is this a bug or is my code lacking something?
EDIT: Yeah, I forgot to put this in the Windows subforum. Sorry for that.