576 } |
576 } |
577 |
577 |
578 // debug-key for clearing the shader registry |
578 // debug-key for clearing the shader registry |
579 if (asc_key_pressed(ASC_KEY(S))) { |
579 if (asc_key_pressed(ASC_KEY(S))) { |
580 asc_shader_clear_registry(); |
580 asc_shader_clear_registry(); |
581 asc_dprintf("Shader cache cleared."); |
|
582 } |
581 } |
583 |
582 |
584 // show/hide the FPS counter |
583 // show/hide the FPS counter |
585 if (asc_key_pressed(ASC_KEY(F2))) { |
584 if (asc_key_pressed(ASC_KEY(F2))) { |
586 asc_scene_node_toggle_visibility(fps_counter); |
585 asc_scene_node_toggle_visibility(fps_counter); |