mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Removed use of obsolete ImGui API.
This commit is contained in:
@@ -144,12 +144,15 @@ public:
|
||||
|
||||
ImGui::SetNextWindowPos(
|
||||
ImVec2(m_width - m_width / 5.0f - 10.0f, 10.0f)
|
||||
, ImGuiSetCond_FirstUseEver
|
||||
, ImGuiCond_FirstUseEver
|
||||
);
|
||||
ImGui::SetNextWindowSize(
|
||||
ImVec2(m_width / 5.0f, m_height / 2.0f)
|
||||
, ImGuiCond_FirstUseEver
|
||||
);
|
||||
ImGui::Begin("Settings"
|
||||
, NULL
|
||||
, ImVec2(m_width / 5.0f, m_height / 6.0f)
|
||||
, ImGuiWindowFlags_AlwaysAutoResize
|
||||
, 0
|
||||
);
|
||||
|
||||
ImGui::Checkbox("Transition", &m_transitions);
|
||||
|
||||
Reference in New Issue
Block a user