From 4eed4171584b7a50a476dba9f674c30a0063e044 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Wed, 20 Jan 2010 12:53:15 +0000 Subject: [PATCH] Fixed a bug about shaders in the new Renderer class git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1365 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Graphics/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Renderer.cpp b/src/SFML/Graphics/Renderer.cpp index 568ec891..b6ab3e79 100644 --- a/src/SFML/Graphics/Renderer.cpp +++ b/src/SFML/Graphics/Renderer.cpp @@ -300,7 +300,7 @@ void Renderer::SetShader(const Shader* shader) // Store it myShader = shader; - myShaderIsValid = false; + myShaderIsValid = true; } }