Fixed windows being zero sized initially
This commit is contained in:
parent
5398a9d0d0
commit
72c602ca55
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user