From 35cfe7a8e499dd1d6fa8050c21517d19ac20b625 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Sun, 29 Nov 2009 10:10:10 +0000 Subject: [PATCH] Removed the workaround for shaders parameters (too slow!) git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1295 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Graphics/RenderTarget.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SFML/Graphics/RenderTarget.cpp b/src/SFML/Graphics/RenderTarget.cpp index 70777eb5b..b0b8ab101 100644 --- a/src/SFML/Graphics/RenderTarget.cpp +++ b/src/SFML/Graphics/RenderTarget.cpp @@ -118,10 +118,6 @@ void RenderTarget::Draw(const Drawable& object, const Shader& shader) // Restore the previous render states myRenderQueue.PopStates(); - - // For now, drawing with a shader cannot be batched because of the shader's parameters - // @todo Find a better solution! - Flush(); }