openglbook-samples icon indicating copy to clipboard operation
openglbook-samples copied to clipboard

Chapter 4 Compatibility Samples Shader Paths are Wrong

Open EddyLuten opened this issue 10 years ago • 0 comments

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);

EddyLuten avatar Jul 11 '14 17:07 EddyLuten