opengl: add missing vao for screenshader (#10397)

missed creating vertex array objects in 04124988e8b4a9cdfc5995388ebfaad0005b4b31
add it.
This commit is contained in:
Tom Englund 2025-05-14 00:46:29 +02:00 committed by GitHub
parent da3583fd5e
commit 59b2340680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1262,6 +1262,7 @@ void CHyprOpenGLImpl::applyScreenShader(const std::string& path) {
} }
m_finalScreenShader.texAttrib = glGetAttribLocation(m_finalScreenShader.program, "texcoord"); m_finalScreenShader.texAttrib = glGetAttribLocation(m_finalScreenShader.program, "texcoord");
m_finalScreenShader.posAttrib = glGetAttribLocation(m_finalScreenShader.program, "pos"); m_finalScreenShader.posAttrib = glGetAttribLocation(m_finalScreenShader.program, "pos");
m_finalScreenShader.createVao();
} }
void CHyprOpenGLImpl::clear(const CHyprColor& color) { void CHyprOpenGLImpl::clear(const CHyprColor& color) {