Compiles again.

This commit is contained in:
2021-12-07 09:08:18 -08:00
parent f2415817d4
commit 7117ddbdca
2 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ add_subdirectory(poker)
add_subdirectory(save) add_subdirectory(save)
add_subdirectory(scene) add_subdirectory(scene)
add_subdirectory(util) add_subdirectory(util)
add_subdirectory(vn) # add_subdirectory(vn)
# Add Game Sources # Add Game Sources
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/games/${TARGET_GAME}) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/games/${TARGET_GAME})

View File

@ -43,10 +43,10 @@ bool gameUpdate(game_t *game, float delta) {
if(game->item->state == ASSET_MANAGER_STATE_SYNC_DONE) { if(game->item->state == ASSET_MANAGER_STATE_SYNC_DONE) {
shaderUse(&game->shader); shaderUse(&game->shader);
shaderUseCamera(&game->shader, &game->camera); // shaderUseCamera(&game->shader, &game->camera);
shaderUsePosition(&game->shader, 0,0,0, 0,0,0); // shaderUsePosition(&game->shader, 0,0,0, 0,0,0);
shaderUseTexture(&game->shader, &game->item->data.scaledTexture.texture); // shaderUseTexture(&game->shader, &game->item->data.scaledTexture.texture);
primitiveDraw(&game->quad, 0, -1); // primitiveDraw(&game->quad, 0, -1);
} }