From 26d74be8b8c447633de5768348a091dd456aa4ed Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 7 Jul 2013 10:35:13 +0200 Subject: [PATCH] Disable blending per frame with HW render. --- gfx/gl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/gl.c b/gfx/gl.c index 6273211902..086f473f5d 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1434,6 +1434,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei glDisable(GL_STENCIL_TEST); glDisable(GL_CULL_FACE); glDisable(GL_DITHER); + glDisable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glClearColor(0.0f, 0.0f, 0.0f, 1.0f); }