From 6159792dec67ff0ba70f7fd2eafd88b683730e64 Mon Sep 17 00:00:00 2001 From: Joey de Vries Date: Mon, 11 Jul 2022 16:51:04 +0200 Subject: [PATCH] Fix correct shader activation on AA chapter. --- .../11.2.anti_aliasing_offscreen/anti_aliasing_offscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/4.advanced_opengl/11.2.anti_aliasing_offscreen/anti_aliasing_offscreen.cpp b/src/4.advanced_opengl/11.2.anti_aliasing_offscreen/anti_aliasing_offscreen.cpp index 6056bbc..bc74e9f 100644 --- a/src/4.advanced_opengl/11.2.anti_aliasing_offscreen/anti_aliasing_offscreen.cpp +++ b/src/4.advanced_opengl/11.2.anti_aliasing_offscreen/anti_aliasing_offscreen.cpp @@ -200,7 +200,7 @@ int main() // shader configuration // -------------------- - shader.use(); + screenShader.use(); screenShader.setInt("screenTexture", 0); // render loop