mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Updated ImGui.
This commit is contained in:
@@ -391,7 +391,7 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
|
||||
const double toGpuMs = 1000.0/double(stats->gpuTimerFreq);
|
||||
const float scale = 3.0f;
|
||||
|
||||
if (ImGui::ListBoxHeader("Encoders", ImVec2(ImGui::GetWindowWidth(), stats->numEncoders*itemHeightWithSpacing) ) )
|
||||
if (ImGui::BeginListBox("Encoders", ImVec2(ImGui::GetWindowWidth(), stats->numEncoders*itemHeightWithSpacing) ) )
|
||||
{
|
||||
ImGuiListClipper clipper;
|
||||
clipper.Begin(stats->numEncoders, itemHeight);
|
||||
@@ -419,12 +419,12 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::ListBoxFooter();
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
if (ImGui::ListBoxHeader("Views", ImVec2(ImGui::GetWindowWidth(), stats->numViews*itemHeightWithSpacing) ) )
|
||||
if (ImGui::BeginListBox("Views", ImVec2(ImGui::GetWindowWidth(), stats->numViews*itemHeightWithSpacing) ) )
|
||||
{
|
||||
ImGuiListClipper clipper;
|
||||
clipper.Begin(stats->numViews, itemHeight);
|
||||
@@ -466,7 +466,7 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::ListBoxFooter();
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
ImGui::PopFont();
|
||||
|
||||
Reference in New Issue
Block a user