diff options
| author | hachem <im@hachem.wtf> | 2025-05-29 17:59:14 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-05-29 17:59:14 +0200 |
| commit | f6d0a0ce56a0dba76775499cfbbfb8c6c2000683 (patch) | |
| tree | 01636765605707a12f3693ffcd4fedef78b71ed8 /src/core | |
| parent | 1dd509a602079ce9d9fa46870424ec1c1f1a6395 (diff) | |
feat: little pepe
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(); } } |
