summaryrefslogtreecommitdiff
path: root/src/unix/main_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/main_unix.cpp')
-rw-r--r--src/unix/main_unix.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/unix/main_unix.cpp b/src/unix/main_unix.cpp
index f25111d..9dd9e62 100644
--- a/src/unix/main_unix.cpp
+++ b/src/unix/main_unix.cpp
@@ -65,6 +65,8 @@ int main(int, char**)
if (!glfwInit())
return 1;
+ ts_init();
+
// Decide GL+GLSL versions
#if defined(IMGUI_IMPL_OPENGL_ES2)
// GL ES 2.0 + GLSL 100
@@ -112,7 +114,6 @@ int main(int, char**)
ImGui::Spectrum::StyleColorsSpectrum();
ImGui::Spectrum::LoadFont(18.0f);
- ts_init();
ts_load_images();
ts_load_config();
@@ -163,6 +164,10 @@ bool ts_platform_dir_exists(utf8_int8_t* path) {
}
}
+void ts_platform_set_window_title(utf8_int8_t* str) {
+ // TODO
+}
+
ts_file_content ts_platform_read_file(char *path, const char *mode) {
ts_file_content result;
result.content = 0;