summaryrefslogtreecommitdiff
path: root/gltfview/src/game.c
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-06-17 20:23:34 -0700
committer3gg <3gg@shellblade.net>2023-06-17 20:23:34 -0700
commit9d1eb251b5d26759e17dd7bee316cf27fdcb28bf (patch)
tree639b6f95cf4e9a00a388ae6c1d26dc4cebee6583 /gltfview/src/game.c
parent520e4e67cd9ff53f3c3512c80d07193625e07e3e (diff)
Move and import error library from clib.
Diffstat (limited to 'gltfview/src/game.c')
-rw-r--r--gltfview/src/game.c4
1 files changed, 2 insertions, 2 deletions
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}