Skip to content

Potential Screen Shader Regression #10394

Closed Answered by gulafaran
RANKSHANK asked this question in Bugs - Renderer
Discussion options

You must be logged in to vote

solves it? seems i missed a place of creating vertex array objects

made it work in nested but.

diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp
index 7739dff1..7d273d1c 100644
--- a/src/render/OpenGL.cpp
+++ b/src/render/OpenGL.cpp
@@ -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) {

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RANKSHANK
Comment options

Answer selected by RANKSHANK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants