mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Possible fix for onscreen buttons turning black sometimes.
This commit is contained in:
parent
628c223234
commit
0f8e0f556f
@ -99,6 +99,7 @@ void UIShader_Prepare()
|
||||
|
||||
glstate.blend.enable();
|
||||
glstate.blendFunc.set(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glstate.blendEquation.set(GL_FUNC_ADD);
|
||||
|
||||
glstate.depthWrite.set(GL_TRUE);
|
||||
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user