1
0
mirror of synced 2024-12-01 02:37:18 +01:00

sys: Fixed some variable names

This commit is contained in:
WerWolv 2023-01-05 16:27:52 +01:00
parent efeeea37f6
commit 15f2376c62

View File

@ -128,9 +128,9 @@ namespace hex::init {
}
ImGui::Render();
int display_w, display_h;
glfwGetFramebufferSize(this->m_window, &display_w, &display_h);
glViewport(0, 0, display_w, display_h);
int displayWidth, displayHeight;
glfwGetFramebufferSize(this->m_window, &displayWidth, &displayHeight);
glViewport(0, 0, displayWidth, displayHeight);
glClearColor(0.00F, 0.00F, 0.00F, 0.00F);
glClear(GL_COLOR_BUFFER_BIT);
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());