diff options
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DDrawBuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h index 1cc88b4079..3a71f94b45 100644 --- a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h +++ b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h @@ -11,6 +11,7 @@ inline f32 J3DCalcZValue(register MtxP m, register Vec v) { register f32 temp_f2; register f32 temp_f1 = 1.0f; +#ifdef __MWERKS__ // clang-format off asm { psq_l temp_f0, 0(v), 0, 0 /* qr0 */ @@ -23,6 +24,7 @@ inline f32 J3DCalcZValue(register MtxP m, register Vec v) { ps_sum0 out, out, out, out } // clang-format on +#endif return out; } |
