fix shader file names

This commit is contained in:
keith2018
2018-04-12 10:33:41 +08:00
committed by GitHub
parent d0fc384f29
commit 1a70c3efad

View File

@@ -77,8 +77,8 @@ int main()
// build and compile our shader zprogram
// ------------------------------------
Shader lightingShader("3.1.materials.vs", "3.1.materials.fs");
Shader lampShader("3.1.lamp.vs", "3.1.lamp.fs");
Shader lightingShader("3.2.materials.vs", "3.2.materials.fs");
Shader lampShader("3.2.lamp.vs", "3.2.lamp.fs");
// set up vertex data (and buffer(s)) and configure vertex attributes
// ------------------------------------------------------------------
@@ -287,4 +287,4 @@ void mouse_callback(GLFWwindow* window, double xpos, double ypos)
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
{
camera.ProcessMouseScroll(yoffset);
}
}