Fix gl ui issues

This commit is contained in:
Henrik Rydgård 2012-11-25 12:39:15 +01:00
parent fc453c979f
commit 6f8f5cb391
2 changed files with 3 additions and 1 deletions

View File

@ -89,6 +89,8 @@ void UIShader_Prepare()
glDisable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
glDisable(GL_SCISSOR_TEST);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
uiTexture->Bind(0);
}

2
native

@ -1 +1 @@
Subproject commit 86ed7895d4daf60d88491b5798f0f5742f6643cb
Subproject commit 41e5a5f3675765114d25357509ddd564d5691674