mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 00:20:23 -07:00
opengl: add missing vao for screenshader (#10397)
missed creating vertex array objects in 04124988e8b4a9cdfc5995388ebfaad0005b4b31 add it.
This commit is contained in:
parent
da3583fd5e
commit
59b2340680
@ -1262,6 +1262,7 @@ void CHyprOpenGLImpl::applyScreenShader(const std::string& path) {
|
||||
}
|
||||
m_finalScreenShader.texAttrib = glGetAttribLocation(m_finalScreenShader.program, "texcoord");
|
||||
m_finalScreenShader.posAttrib = glGetAttribLocation(m_finalScreenShader.program, "pos");
|
||||
m_finalScreenShader.createVao();
|
||||
}
|
||||
|
||||
void CHyprOpenGLImpl::clear(const CHyprColor& color) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user