Examples: Main: Removed call to SetNextWindowSize()

This commit is contained in:
omar
2017-09-01 17:06:26 +02:00
parent 4abce8af58
commit b8ade0b94f
11 changed files with 11 additions and 21 deletions

View File

@ -75,9 +75,8 @@ int main(int, char**)
// 2. Show another simple window, this time using an explicit Begin/End pair
if (show_another_window)
{
ImGui::SetNextWindowSize(ImVec2(200,100), ImGuiCond_FirstUseEver);
ImGui::Begin("Another Window", &show_another_window);
ImGui::Text("Hello");
ImGui::Text("Hello from another window!");
ImGui::End();
}