mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-14 19:45:45 -07:00
opengl: add missing vao for screenshader (#10397)
missed creating vertex array objects in 04124988e8
add it.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user