Use the testing backend for the C++ integration tests

This commit is contained in:
Olivier Goffart 2021-05-11 09:57:04 +02:00
parent a0e910abf0
commit 988c2b0b9d
6 changed files with 18 additions and 2 deletions

View file

@ -56,3 +56,9 @@ pub unsafe extern "C" fn sixtyfps_register_font_from_path(
},
)
}
#[cfg(feature = "testing")]
#[no_mangle]
pub unsafe extern "C" fn sixtyfps_testing_init_backend() {
sixtyfps_rendering_backend_testing::init();
}