mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Merge pull request #105 from keith2018/keith2018-patch-1
fix shader file names
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user