Vertex Shader. GL implementation bug?

Is there any standart clarification on this?

I believe it’s an Intel HD Graphics drivers bug:

If would be great if some of you compiled this code on your machine (delete spaces):

https:// raw.githubusercontent. com/BilletAcc/Bug/main/main.c

Have you tried checking for errors using glGetShaderInfoLog and glGetProgramInfoLog?

This is backwards. You need to call glBindAttribLocation before glLinkProgram. As it stands, the locations assigned to the input variables are unspecified. Changing which variables are active can reasonably be expected to affect the location assignments.

1 Like

Oh, true… Thanks a lot, now it all works perfectly! :slightly_smiling_face:

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.