mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 00:40:06 +00:00
(PS3) Fix FPS counter - note to maister - don't change this back
again - FPS message will not appear correctly if this variable is not static
This commit is contained in:
parent
7b03e554ad
commit
9e2ae7c500
2
gfx/gl.c
2
gfx/gl.c
@ -1124,7 +1124,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
|
||||
bool fps_enable = g_extern.console.rmenu.state.msg_fps.enable;
|
||||
if (fps_enable)
|
||||
{
|
||||
char fps_txt[128];
|
||||
static char fps_txt[128];
|
||||
gfx_window_title(fps_txt, sizeof(fps_txt));
|
||||
gl_render_msg_place(gl, g_settings.video.msg_pos_x, 0.56f, 1.04f, WHITE, fps_txt);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user