Merge pull request #70 from tielei/minor_fix

Variable name does not match with that in frag shader
This commit is contained in:
Joey de Vries
2017-06-29 08:36:02 +02:00
committed by GitHub

View File

@@ -166,7 +166,7 @@ int main()
// shader configuration // shader configuration
// -------------------- // --------------------
shader.use(); shader.use();
shader.setInt("ourTexture", 0); shader.setInt("texture1", 0);
// render loop // render loop
// ----------- // -----------