1
0
mirror of synced 2025-02-06 14:14:22 +01:00

Fixed windows being zero sized initially

This commit is contained in:
WerWolv 2020-11-11 00:12:49 +01:00
parent 5398a9d0d0
commit 72c602ca55

View File

@ -28,8 +28,10 @@ namespace hex {
while (!glfwWindowShouldClose(this->m_window)) { while (!glfwWindowShouldClose(this->m_window)) {
this->frameBegin(); this->frameBegin();
for (auto &view : this->m_views) for (auto &view : this->m_views) {
ImGui::SetNextWindowSize(ImVec2(250, 250));
view->createView(); view->createView();
}
this->frameEnd(); this->frameEnd();
} }