Disable viewports.

This commit is contained in:
Bartosz Taudul 2020-05-05 00:48:53 +02:00
parent 57819055da
commit c87d8f017f

View File

@ -281,9 +281,6 @@ int main( int argc, char** argv )
std::string iniFileName = tracy::GetSavePath( "imgui.ini" ); std::string iniFileName = tracy::GetSavePath( "imgui.ini" );
io.IniFilename = iniFileName.c_str(); io.IniFilename = iniFileName.c_str();
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_DockingEnable; io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_DockingEnable;
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform Windows
//io.ConfigWindowsMoveFromTitleBarOnly = true;
//io.ConfigDockingWithShift = false;
ImGui_ImplGlfw_InitForOpenGL( window, true ); ImGui_ImplGlfw_InitForOpenGL( window, true );
ImGui_ImplOpenGL3_Init( "#version 150" ); ImGui_ImplOpenGL3_Init( "#version 150" );