You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following tutorial no.10 and whenever i try to run my code after adding in the parts to load "basicVertex" and "BasicFragment" shaders, I keep getting the error in the title. My code is identical to Benny's.
I was following tutorial no.10 and whenever i try to run my code after adding in the parts to load "basicVertex" and "BasicFragment" shaders, I keep getting the error in the title. My code is identical to Benny's.
basicFragment.fs:
#version 330
out vec3 fragColor;
void main()
{
fragColor = vec4(0.0, 1.0, 1.0, 1.0);
}
basicVertex.vs:
#version 330
layout (location = 0) in vec3 position;
void main()
{
gl_Position = vec4(0.25 * position, 1.0);
}
The text was updated successfully, but these errors were encountered: