summaryrefslogtreecommitdiffstats
path: root/game/client/window_title.cc
blob: 7e4da10e58970950a6642125a6ab8ab0d4d5172c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "client/pch.hh"
#include "client/window_title.hh"

#include "core/feature.hh"
#include "core/version.hh"

#include "shared/splash.hh"

#include "client/globals.hh"

void window_title::update(void)
{
    auto string = fmt::format("Voxelius {}: {}", PROJECT_VERSION_STRING, splash::get());

    glfwSetWindowTitle(globals::window, string.c_str());
}