Hopefully fix non-web builds.
This commit is contained in:
parent
36d4d47c00
commit
ceaf24268c
1 changed files with 2 additions and 0 deletions
|
@ -215,9 +215,11 @@ void RendererBackend::AddFonts() {
|
|||
title = add_font(vector<FontData>({FontData {notosans_thin_compressed_data_base85, io.Fonts->GetGlyphRangesDefault()}, FontData {notosansjp_thin_compressed_data_base85, io.Fonts->GetGlyphRangesJapanese()}}), 48 * scale);
|
||||
ImGui_ImplOpenGL3_CreateFontsTexture();
|
||||
}
|
||||
#ifdef __EMSCRIPTEN__
|
||||
static EM_BOOL resize_callback(int event_type, const EmscriptenUiEvent *event, void *userdata) {
|
||||
RendererBackend::resize_static();
|
||||
}
|
||||
#endif
|
||||
int RendererBackend::Run() {
|
||||
setlocale(LC_ALL, "");
|
||||
bindtextdomain("neko_player", LOCALE_DIR);
|
||||
|
|
Loading…
Reference in a new issue