made draw type vis a compile time option

Didn't want to deal with the branchless math trial and error...
This commit is contained in:
2025-01-09 23:48:43 -05:00
parent b5fdc02b7d
commit 9ab7bf78c6
4 changed files with 29 additions and 50 deletions

View File

@ -535,8 +535,6 @@ tick_work_frame :: #force_inline proc( host_delta_time_ms : f64 ) -> b32
debug.draw_ui_padding_bounds = false
debug.draw_ui_content_bounds = false
font_provider_set_draw_type_visualization(true)
// config.engine_refresh_hz = 165
// config.color_theme = App_Thm_Light

View File

@ -119,10 +119,6 @@ font_load :: proc(path_file : string,
return fid
}
font_provider_set_draw_type_visualization :: #force_inline proc( should_enable : b32 ) {
ve.set_draw_type_visualization( & get_state().font_provider_ctx.ve_ctx, should_enable )
}
font_provider_set_alpha_sharpen :: #force_inline proc( scalar : f32 ) {
ve.set_alpha_scalar( & get_state().font_provider_ctx.ve_ctx, scalar )
}