Remove texcoord from QUADFRAGSRC.
texcoord is unused in the rounding part of the textureshaders. QUADFRAGSRC isn't using that variable inside the non rounding code. Because of that opengl optimizes that variable out, and is complaining if glGetAttribLocation is called on it.
This commit is contained in:
parent
0d702b556d
commit
e8be1507ef
3 changed files with 1 additions and 3 deletions
|
|
@ -151,7 +151,6 @@ void CHyprOpenGLImpl::initShaders() {
|
|||
m_RenderData.pCurrentMonData->m_shQUAD.proj = glGetUniformLocation(prog, "proj");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.color = glGetUniformLocation(prog, "color");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.posAttrib = glGetAttribLocation(prog, "pos");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.texAttrib = glGetAttribLocation(prog, "texcoord");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.topLeft = glGetUniformLocation(prog, "topLeft");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.fullSize = glGetUniformLocation(prog, "fullSize");
|
||||
m_RenderData.pCurrentMonData->m_shQUAD.radius = glGetUniformLocation(prog, "radius");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue