I make this simple code:
//Create
var config = new winwin_config();
config.caption = "Hello!";
config.resize = true;
global.window = [[window_get_x() + 800,window_get_y(), 100,100],
[window_get_x() + 900,window_get_y(), 400,400],
[window_get_x() + 1000,window_get_y(), 100,100]]
for(var i = 0; i < array_length(global.window); i++)
global.window[i] = winwin_create(global.window[i][0],global.window[i][1], global.window[i][2],global.window[i][3], config);
//Draw
for(var i = 0; i < array_length(global.window); i++){
winwin_draw_begin(global.window[i]);
winwin_draw_clear(#405070);
winwin_draw_end();
}
I tested a little more and found the cause of my problem, but I didn't test as much. Apparently if the second extra window created is in smaller proportions the FPS of the main window drops considerably, in the example it works well at 400x400, but if I change it to 200x200 the problem happens