its a menu, fuck off
[carveJwlIkooP6JGAAIwe30JlM.git] / player_render.c
index f34aa1665028c9ac4909508e56503648f59694bb..8f2521538ca9719b7c83b93dccf3a27553f49e0c 100644 (file)
@@ -61,6 +61,7 @@ VG_STATIC void player_model_load( struct player_model *mdl, const char *path )
    mdl_close( &ctx );
 }
 
+/* TODO: allow error handling */
 VG_STATIC void player_board_load( struct player_board *mdl, const char *path )
 {
    vg_linear_clear( vg_mem.scratch );
@@ -305,6 +306,7 @@ VG_STATIC void render_board( camera *cam, world_instance *world,
       shader_model_board_view_uTexSceneDepth( 1 );
 
       render_fb_inverse_ratio( gpipeline.fb_main, inverse );
+
       inverse[2] = main_camera.farz-main_camera.nearz;
 
       shader_model_board_view_uInverseRatioDepth( inverse );