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
This commit is contained in:
LaurentGom 2009-11-29 10:10:10 +00:00
parent acfc296150
commit 35cfe7a8e4

View File

@ -118,10 +118,6 @@ void RenderTarget::Draw(const Drawable& object, const Shader& shader)
// Restore the previous render states // Restore the previous render states
myRenderQueue.PopStates(); myRenderQueue.PopStates();
// For now, drawing with a shader cannot be batched because of the shader's parameters
// @todo Find a better solution!
Flush();
} }