fix: do not glClear with red

This commit is contained in:
Matias 2025-07-16 22:04:39 +02:00
parent d78fda606f
commit 28fd76c147
No known key found for this signature in database
GPG Key ID: ED35A6AC65A06B69

View File

@ -48,7 +48,7 @@ class CBindOwnFramebufferPassElement final: public IPassElement {
m_pFramebuffer->bind(); m_pFramebuffer->bind();
g_pHyprOpenGL->m_renderData.currentFB = m_pFramebuffer; g_pHyprOpenGL->m_renderData.currentFB = m_pFramebuffer;
GLCALL(glClearColor(1, 0, 0, 0)); GLCALL(glClearColor(0, 0, 0, 0));
GLCALL(glClear(GL_COLOR_BUFFER_BIT)); GLCALL(glClear(GL_COLOR_BUFFER_BIT));
} }