Disable blending per frame with HW render.

This commit is contained in:
Themaister 2013-07-07 10:35:13 +02:00
parent 335c32d95d
commit 26d74be8b8

View File

@ -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);
}