From f6d0a0ce56a0dba76775499cfbbfb8c6c2000683 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 29 May 2025 17:59:14 +0200 Subject: feat: little pepe --- src/core/application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/application.cpp') 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(m_window->framebuffer_width()), static_cast(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(); } } -- cgit v1.3