mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-27 16:49:42 +01:00
[subet] Don't use experimental api flag in benchmark if not compiled with experimental api.
This commit is contained in:
1 parent
41612df9d3
commit
2fcace77b2
1 file changed
+2
@@ -195,7 +195,9 @@ static void BM_subset (benchmark::State &state,
|
||||
AddCodepoints(all_codepoints, subset_size, input);
|
||||
hb_set_destroy (all_codepoints);
|
||||
|
||||
#ifdef HB_EXPERIMENTAL_API
|
||||
hb_subset_input_set_flags(input, hb_subset_input_get_flags(input) | HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS);
|
||||
#endif
|
||||
|
||||
for (unsigned i = 0; i < test_input.num_instance_opts; i++)
|
||||
hb_subset_input_pin_axis_location (input, face,
|
||||
|
||||
Reference in new issue
Block a user