Made compilation actually work
This commit is contained in:
@ -13,7 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
# Set some global flags
|
||||
add_compile_definitions(
|
||||
_CRT_SECURE_NO_WARNINGS=1
|
||||
ASSET_PREFIX="assets/"
|
||||
ASSET_PREFIX="../assets/"
|
||||
)
|
||||
|
||||
# Do initial set up depending on the build target type.
|
||||
|
@ -31,6 +31,9 @@ bool gameInit(game_t *game) {
|
||||
bool doneResize = false;
|
||||
|
||||
bool gameUpdate(game_t *game, float delta) {
|
||||
ASSERT_NOT_NULL(game);
|
||||
ASSERT_GREATER_THAN(delta, 0);
|
||||
|
||||
// Let the engine do its thing.
|
||||
engineUpdateStart(&game->engine, delta);
|
||||
|
||||
|
Reference in New Issue
Block a user