opengl: add missing vao for screenshader (#10397)
missed creating vertex array objects in 04124988e8
add it.
This commit is contained in:
parent
da3583fd5e
commit
59b2340680
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue