diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/application.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/application.cpp b/src/core/application.cpp index 7047d6a..d04cde8 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -113,15 +113,15 @@ namespace Hsdbg auto Application::render() -> void { - m_ui->begin_frame(); - m_ui->draw(*m_debugger); - glViewport(0, 0, static_cast<GLsizei>(m_window->framebuffer_width()), static_cast<GLsizei>(m_window->framebuffer_height())); + glDisable(GL_SCISSOR_TEST); glClearColor(0.05f, 0.05f, 0.06f, 1.0f); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + m_ui->begin_frame(); + m_ui->draw(*m_debugger); m_ui->end_frame(); } } |
