Skip to content

Commit

Permalink
FF7: Fix FIELD mode text box flickering rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtang95 authored and julianxhokaxhiu committed Jan 12, 2023
1 parent d07396f commit 6e45f90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,10 @@ void Renderer::show()

bgfx::dbgTextClear();

for(int i = 1; i <= backendViewId; i++)
bgfx::resetView(i);
if(!ff8 && getmode_cached()->driver_mode == MODE_BATTLE) {
for(int i = 0; i <= backendViewId; i++)
bgfx::resetView(i);
}

backendViewId = 1;

Expand Down

0 comments on commit 6e45f90

Please sign in to comment.