mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix interpolation compile warning
This commit is contained in:
parent
a6d456fed7
commit
7131a80167
1 changed files with 2 additions and 2 deletions
|
|
@ -468,7 +468,7 @@ static void rematrix(Mtx * mat, f32 tranfs[13]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
OPTIMIZE_O3 inline static void delta_interpolate_mtx_accurate(Mtx* out, Mtx* a, Mtx* b, f32 delta) {
|
inline static void delta_interpolate_mtx_accurate(Mtx* out, Mtx* a, Mtx* b, f32 delta) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
f32 matTranfsA[13] = { 0 };
|
f32 matTranfsA[13] = { 0 };
|
||||||
f32 matTranfsB[13] = { 0 };
|
f32 matTranfsB[13] = { 0 };
|
||||||
|
|
@ -491,7 +491,7 @@ OPTIMIZE_O3 inline static void delta_interpolate_mtx_accurate(Mtx* out, Mtx* a,
|
||||||
rematrix(out, matTranfsB);
|
rematrix(out, matTranfsB);
|
||||||
}
|
}
|
||||||
|
|
||||||
OPTIMIZE_O3 void delta_interpolate_mtx(Mtx* out, Mtx* a, Mtx* b, f32 delta) {
|
void delta_interpolate_mtx(Mtx* out, Mtx* a, Mtx* b, f32 delta) {
|
||||||
// HACK: Limit accurate interpolation to 64-bit builds
|
// HACK: Limit accurate interpolation to 64-bit builds
|
||||||
if (sizeof(void*) > 4) {
|
if (sizeof(void*) > 4) {
|
||||||
if (configInterpolationMode) {
|
if (configInterpolationMode) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue