Bitmap: Remove leftover 'flush()' calls
This commit is contained in:
parent
e0a4dfe372
commit
bb8f2351cc
|
@ -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<int>(angle, 0, 359);
|
||||
divisions = clamp<int>(divisions, 2, 100);
|
||||
|
||||
|
|
Loading…
Reference in New Issue