Jump to content

[SOLVED] another interface bug under mac?


photo

Recommended Posts

Under mac system, if I have created a interface window by interface plugin, then when I try to change the resolution of engine. the interface window will disappear.

 

But this won't happen under windows.

 

This must be a bug, So how can I fix this in source? this is a big problem with our project. So please help me as soon as possible.

 

Thanks.

Link to comment

source/plugins/Interface/Interface/InterfaceWindow.mm:535:

 

void InterfaceWindow::destroy() {
    gui->destroy();
    if(isHidden()) {
        release_context();
    } else {
        setHidden(1);
        release_context();
        setHidden(0);
    }
}
Link to comment
×
×
  • Create New...