renderer: use alpha for the lockttytext texture

ref #10348
This commit is contained in:
Vaxry 2025-05-11 13:15:03 +01:00
parent 9a87498bb1
commit 390a357859
No known key found for this signature in database
GPG Key ID: 665806380871D640

View File

@ -1037,7 +1037,7 @@ void CHyprRenderer::renderSessionLockMissing(PHLMONITOR pMonitor) {
// also render text for the tty number
if (g_pHyprOpenGL->m_lockTtyTextTexture) {
CBox texbox = {{}, g_pHyprOpenGL->m_lockTtyTextTexture->m_size};
g_pHyprOpenGL->renderTexture(g_pHyprOpenGL->m_lockTtyTextTexture, texbox, 1.F);
g_pHyprOpenGL->renderTexture(g_pHyprOpenGL->m_lockTtyTextTexture, texbox, ALPHA);
}
}