Compiles again.
This commit is contained in:
@ -36,7 +36,7 @@ add_subdirectory(poker)
|
||||
add_subdirectory(save)
|
||||
add_subdirectory(scene)
|
||||
add_subdirectory(util)
|
||||
add_subdirectory(vn)
|
||||
# add_subdirectory(vn)
|
||||
|
||||
# Add Game Sources
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/games/${TARGET_GAME})
|
@ -43,10 +43,10 @@ bool gameUpdate(game_t *game, float delta) {
|
||||
|
||||
if(game->item->state == ASSET_MANAGER_STATE_SYNC_DONE) {
|
||||
shaderUse(&game->shader);
|
||||
shaderUseCamera(&game->shader, &game->camera);
|
||||
shaderUsePosition(&game->shader, 0,0,0, 0,0,0);
|
||||
shaderUseTexture(&game->shader, &game->item->data.scaledTexture.texture);
|
||||
primitiveDraw(&game->quad, 0, -1);
|
||||
// shaderUseCamera(&game->shader, &game->camera);
|
||||
// shaderUsePosition(&game->shader, 0,0,0, 0,0,0);
|
||||
// shaderUseTexture(&game->shader, &game->item->data.scaledTexture.texture);
|
||||
// primitiveDraw(&game->quad, 0, -1);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user