summaryrefslogtreecommitdiff
path: root/gltfview
diff options
context:
space:
mode:
Diffstat (limited to 'gltfview')
-rw-r--r--gltfview/CMakeLists.txt1
-rw-r--r--gltfview/src/game.c4
2 files changed, 3 insertions, 2 deletions
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
13 13
14target_link_libraries(gltfview PRIVATE 14target_link_libraries(gltfview PRIVATE
15 cstring 15 cstring
16 error
16 gfx 17 gfx
17 gfx-app 18 gfx-app
18 list 19 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 @@
9#include "game.h" 9#include "game.h"
10#include "plugins/plugin.h" 10#include "plugins/plugin.h"
11 11
12#include <gfx/error.h>
13#include <gfx/render_backend.h> 12#include <gfx/render_backend.h>
14#include <gfx/scene/camera.h> 13#include <gfx/scene/camera.h>
15#include <gfx/scene/object.h> 14#include <gfx/scene/object.h>
16 15
16#include <error.h>
17#include <log/log.h> 17#include <log/log.h>
18#include <math/camera.h> 18#include <math/camera.h>
19#include <plugin.h> 19#include <plugin.h>
@@ -105,7 +105,7 @@ bool game_new(Game* game, int argc, const char** argv) {
105 return true; 105 return true;
106 106
107cleanup: 107cleanup:
108 LOGE("Gfx error: %s", gfx_get_error()); 108 LOGE("Gfx error: %s", get_error());
109 game_end(game); 109 game_end(game);
110 return false; 110 return false;
111} 111}