openglbook-samples
openglbook-samples copied to clipboard
Chapter 4 Compatibility Samples Shader Paths are Wrong
The paths passed into the LoadShader
functions point to the wrong paths.
ShaderIds[1] = LoadShader("./OpenGL 3.3/SimpleShader.fragment.3.3.glsl", GL_FRAGMENT_SHADER);
ShaderIds[2] = LoadShader("./OpenGL 3.3/SimpleShader.vertex.3.3.glsl", GL_VERTEX_SHADER);