Explorar o código

Fixed flag ImGuiWindowFlags_AlwaysAutoResize been passed as alpha argument (#1251)

Stanislav %!s(int64=8) %!d(string=hai) anos
pai
achega
f9b5c86d10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/common/example-glue.cpp

+ 1 - 1
examples/common/example-glue.cpp

@@ -19,9 +19,9 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
 		  ImVec2(10.0f, 50.0f)
 		, ImGuiSetCond_FirstUseEver
 		);
+	ImGui::SetNextWindowSize(ImVec2(256.0f, 200.0f));
 	ImGui::Begin(temp
 		, NULL
-		, ImVec2(256.0f, 200.0f)
 		, ImGuiWindowFlags_AlwaysAutoResize
 		);