From 503ce7895c2c00ab0d57dcb599f465b706a1443a Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 22 May 2013 21:41:10 +0200 Subject: [PATCH] Reset BlendFunc with HW render. --- gfx/gl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/gl.c b/gfx/gl.c index 5730d154ee..572b973c4f 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1446,6 +1446,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); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glClearColor(0.0f, 0.0f, 0.0f, 1.0f); } #endif