mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-27 08:12:33 +00:00
Fix in-game flickering in Dissidia Final Fantasy
This commit is contained in:
parent
44b22bc6ff
commit
71ede82f6d
@ -263,6 +263,9 @@ bool GLES_GPU::FramebufferDirty() {
|
||||
}
|
||||
|
||||
void GLES_GPU::CopyDisplayToOutput() {
|
||||
glstate.depthWrite.set(GL_TRUE);
|
||||
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
|
||||
transformDraw_.Flush();
|
||||
|
||||
EndDebugDraw();
|
||||
|
@ -340,7 +340,7 @@ void PauseScreen::render() {
|
||||
ctx->RebindTexture();
|
||||
}
|
||||
|
||||
ui_draw2d.DrawText(UBUNTU48, title, 10+144+10, 30, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
ui_draw2d.DrawText(UBUNTU48, title, 10+144+10, 20, 0xFFFFFFFF, ALIGN_LEFT);
|
||||
|
||||
int x = 30;
|
||||
int y = 50;
|
||||
|
@ -100,7 +100,8 @@ void UIShader_Prepare()
|
||||
glstate.blend.enable();
|
||||
glstate.blendFunc.set(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
glstate.colorMask.set(true, true, true, true);
|
||||
glstate.depthWrite.set(GL_TRUE);
|
||||
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
glstate.Restore();
|
||||
|
||||
uiTexture->Bind(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user