Hey guys

I've got a little problem with wideo_window;
I want to change the border ingame, nothing easyer than that, I though.
So I wrote this line in a button function, which should switch between "with border" and "less border":

Code:
var mom_rand=0;

function window_rand()
{
if(mom_rand==0)
{
video_window(nullvector,screen_size,16,"my game");
mom_rand=1;}
else
{
video_window(nullvector,screen_size,1,"my game");
mom_rand=0;}}



When I press the button ingame, the border comes, but the window gets smaller too, but not the resolution, so it gets blurred.
The manual says, I should use "screen_size", but how you can see I did and it didn't change anything.

Thx for help wink


Hilf mir, dir zu helfen!