diff --git a/src/bitmap.cpp b/src/bitmap.cpp index 0e3b21d..62821e4 100644 --- a/src/bitmap.cpp +++ b/src/bitmap.cpp @@ -429,8 +429,6 @@ void Bitmap::gradientFillRect(const IntRect &rect, GUARD_MEGA; - flush(); - SimpleColorShader &shader = shState->shaders().simpleColor; shader.bind(); shader.setTranslation(Vec2i()); @@ -488,8 +486,6 @@ void Bitmap::blur() GUARD_MEGA; - flush(); - Quad &quad = shState->gpQuad(); FloatRect rect(0, 0, width(), height()); quad.setTexPosRect(rect, rect); @@ -535,8 +531,6 @@ void Bitmap::radialBlur(int angle, int divisions) GUARD_MEGA; - flush(); - angle = clamp(angle, 0, 359); divisions = clamp(divisions, 2, 100);