From 9d1eb251b5d26759e17dd7bee316cf27fdcb28bf Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 17 Jun 2023 20:23:34 -0700 Subject: Move and import error library from clib. --- gltfview/CMakeLists.txt | 1 + gltfview/src/game.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'gltfview') diff --git a/gltfview/CMakeLists.txt b/gltfview/CMakeLists.txt index 0b0c3cc..de745ce 100644 --- a/gltfview/CMakeLists.txt +++ b/gltfview/CMakeLists.txt @@ -13,6 +13,7 @@ target_include_directories(gltfview PRIVATE target_link_libraries(gltfview PRIVATE cstring + error gfx gfx-app list diff --git a/gltfview/src/game.c b/gltfview/src/game.c index 6d8430b..7470f75 100644 --- a/gltfview/src/game.c +++ b/gltfview/src/game.c @@ -9,11 +9,11 @@ #include "game.h" #include "plugins/plugin.h" -#include #include #include #include +#include #include #include #include @@ -105,7 +105,7 @@ bool game_new(Game* game, int argc, const char** argv) { return true; cleanup: - LOGE("Gfx error: %s", gfx_get_error()); + LOGE("Gfx error: %s", get_error()); game_end(game); return false; } -- cgit v1.2.3