Adds compilation fixes for ARM in headless mode (#1151)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled

Co-authored-by: Alfredo <jalfredo.gallegos@gmail.com>
This commit is contained in:
PeachyPeach 2026-03-16 22:32:39 +01:00 committed by GitHub
parent 8735cf96ad
commit e645aa7cef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -827,7 +827,7 @@ OPTIMIZE_O3 bool mtxf_inverse_non_affine(VEC_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