GLMeta: Disable blending when blitting via quad draw
This commit is contained in:
parent
27b7815f52
commit
c1d627e0ae
|
@ -193,9 +193,11 @@ void blitRectangle(const IntRect &src, const IntRect &dst, bool smooth)
|
|||
if (smooth)
|
||||
TEX::setSmooth(true);
|
||||
|
||||
glState.blend.pushSet(false);
|
||||
Quad &quad = shState->gpQuad();
|
||||
quad.setTexPosRect(src, dst);
|
||||
quad.draw();
|
||||
glState.blend.pop();
|
||||
|
||||
if (smooth)
|
||||
TEX::setSmooth(false);
|
||||
|
|
Loading…
Reference in New Issue