style refactor
This commit is contained in:
@@ -39,7 +39,7 @@ int main(int, char**) {
|
||||
|
||||
// Создаем и инициализируем наше изолированное приложение
|
||||
SerialApp app;
|
||||
app.Initialize();
|
||||
app.initialize();
|
||||
|
||||
// Главный цикл приложения
|
||||
while (!glfwWindowShouldClose(window)) {
|
||||
@@ -51,8 +51,8 @@ int main(int, char**) {
|
||||
ImGui::NewFrame();
|
||||
|
||||
// Рендерим наше кастомное UI
|
||||
app.RenderUI();
|
||||
if (app.ShouldClose()) {
|
||||
app.renderUI();
|
||||
if (app.isClosing()) {
|
||||
glfwSetWindowShouldClose(window, GLFW_TRUE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user