#include "platform_linux/linux_platform_services.h"

#ifdef __LINUX__
#include <string>

#include <GLFW/glfw3.h>

#include "app.h"

namespace pp::platform::linux {
namespace {

void linux_update_fps(int frames)
{
    App::I->title("PanoPainter - " + std::to_string(frames) + " FPS");
}

}

void report_rendered_frames(int frames)
{
    linux_update_fps(frames);
}

}
#else
namespace pp::platform::linux {

void report_rendered_frames(int frames)
{
    (void)frames;
}

}
#endif
