Skip to content

Commit

Permalink
NX/VITA: Fix SCREENFLASH_FADE_INANDOUT updating too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Jan 15, 2024
1 parent 24c89e1 commit c34deca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/gl_hud.c
Expand Up @@ -2140,11 +2140,11 @@ void HUD_Screenflash (void)
else {
// Fade In
if (percentage_complete < 0.5) {
flash_alpha = (float)percentage_complete;
flash_alpha = (float)percentage_complete*2;
}
// Fade Out
else {
flash_alpha = invertfloat((float)percentage_complete);
flash_alpha = invertfloat((float)percentage_complete)(2;
}
}

Expand Down Expand Up @@ -2251,4 +2251,4 @@ void HUD_Draw (void) {
HUD_Screenflash();

GL_SetCanvas(CANVAS_DEFAULT);
}
}

0 comments on commit c34deca

Please sign in to comment.