Adds compilation fixes for ARM in headless mode

This commit is contained in:
Alfredo 2025-11-24 10:42:18 -08:00
parent 983932214a
commit a5ec435d03
2 changed files with 9 additions and 1 deletions

View file

@ -827,7 +827,7 @@ OPTIMIZE_O3 bool mtxf_inverse_non_affine(OUT Mat4 dest, Mat4 src) {
if (fabsf(aug[i][k]) > fabsf(aug[piv][k])) { piv = i; }
}
if (fabsf(aug[piv][k]) < FLT_EPSILON) { return false; }
if (fabsf(aug[piv][k]) < __FLT_EPSILON__) { return false; }
// swap pivot row into place
if (piv != k) {

View file

@ -411,4 +411,12 @@ static void sys_fatal_impl(const char *msg) {
exit(1);
}
const char *sys_resource_path(void) {
return ".";
}
const char *sys_exe_path_dir(void) {
return ".";
}
#endif // platform switch