From b8a31a642a82ee6e4e4d10812caabf3aa5d289ec Mon Sep 17 00:00:00 2001 From: elijah-thomas774 Date: Wed, 16 Oct 2024 15:47:19 -0400 Subject: [PATCH] fix pragma warning off/on (pop no work?) --- include/m/m3d/m_bline.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/m/m3d/m_bline.h b/include/m/m3d/m_bline.h index cf06c77c..cb47c32f 100644 --- a/include/m/m3d/m_bline.h +++ b/include/m/m3d/m_bline.h @@ -8,8 +8,6 @@ namespace m3d { -#pragma push -#pragma warning off(10402) // The Actual line class bline_c { public: @@ -24,6 +22,7 @@ public: }; // This is mainly a Guess, When the array is created, it has only a ctor struct VtxNrm { +#pragma warning off(10402) union { struct { Vec3u8 nrm1; @@ -31,6 +30,7 @@ public: }; EGG::Vector3s nrm_u16; // There is a short by short copy later }; +#pragma warning on(10402) }; // This is mainly a Guess, When the array is created, it doesnt use the array alloc struct VtxTex { @@ -60,7 +60,6 @@ public: /* 0x2E */ u8 mFlags; /* 0x2F u8 _pad; */ }; -#pragma pop class blineMat_c : public proc_c { public: