From 0f6fb2617e5234480994f954125f5c45d6d29e0b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 24 Dec 2009 04:01:19 +0100 Subject: Don't disable shaders when rendering shadow volumes --- src/Renderer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Renderer.h') diff --git a/src/Renderer.h b/src/Renderer.h index bf2da20..1b6f91b 100644 --- a/src/Renderer.h +++ b/src/Renderer.h @@ -68,7 +68,6 @@ class Renderer { glClear(GL_STENCIL_BUFFER_BIT); glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); glDepthMask(GL_FALSE); - Shader::disable(); glFrontFace(GL_CCW); glStencilOp(GL_KEEP, GL_INCR, GL_KEEP); -- cgit v1.2.3