Browse Source

Fix SystemUI example which broke after ImGUI update.

Rokas Kupstys 8 years ago
parent
commit
5a15045a58
1 changed files with 2 additions and 2 deletions
  1. 2 2
      FeatureExamples/CPlusPlus/Source/HelloSystemUi.cpp

+ 2 - 2
FeatureExamples/CPlusPlus/Source/HelloSystemUi.cpp

@@ -72,8 +72,8 @@ void HelloSystemUi::SubscribeToEvents()
 
 void HelloSystemUi::RenderUi(StringHash eventType, VariantMap& eventData)
 {
-    ImGui::SetNextWindowSize(ImVec2(200, 300), ImGuiSetCond_FirstUseEver);
-    ImGui::SetNextWindowPos(ImVec2(200, 300), ImGuiSetCond_FirstUseEver);
+    ImGui::SetNextWindowSize(ImVec2(200, 300), ImGuiCond_FirstUseEver);
+    ImGui::SetNextWindowPos(ImVec2(200, 300), ImGuiCond_FirstUseEver);
     if (ImGui::Begin("Sample SystemUI", 0, ImGuiWindowFlags_NoSavedSettings))
     {
         if (messageBox_.NotNull())