diff --git a/src/SFML/Graphics/RenderTarget.cpp b/src/SFML/Graphics/RenderTarget.cpp index b0b8ab10..70777eb5 100644 --- a/src/SFML/Graphics/RenderTarget.cpp +++ b/src/SFML/Graphics/RenderTarget.cpp @@ -118,6 +118,10 @@ 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(); }