(Android) Add optional fps logging

This commit is contained in:
twinaphex 2012-10-16 17:18:10 +02:00
parent 303c4968f2
commit 90d5913faa

View File

@ -15,6 +15,7 @@
*/
#include "../../driver.h"
#include "../gfx_common.h"
#include "../gl_common.h"
#include <EGL/egl.h> /* Requires NDK r5 or newer */
@ -238,6 +239,15 @@ static void gfx_ctx_set_resize(unsigned width, unsigned height)
static void gfx_ctx_update_window_title(bool reset)
{
(void)reset;
#if 0
if (reset)
gfx_window_title_reset();
char buf[128];
if (gfx_window_title(buf, sizeof(buf)))
RARCH_LOG("%s.\n", buf);
#endif
}
static void gfx_ctx_get_video_size(unsigned *width, unsigned *height)