mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Fix correct shader activation on AA chapter.
This commit is contained in:
@@ -200,7 +200,7 @@ int main()
|
||||
|
||||
// shader configuration
|
||||
// --------------------
|
||||
shader.use();
|
||||
screenShader.use();
|
||||
screenShader.setInt("screenTexture", 0);
|
||||
|
||||
// render loop
|
||||
|
||||
Reference in New Issue
Block a user