summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2024-10-16 15:47:19 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2024-10-16 15:47:19 -0400
commitb8a31a642a82ee6e4e4d10812caabf3aa5d289ec (patch)
tree2c8d97d2866953af3d087c54da161b2fde54d59b
parent26af4db82da23364961ebb440efba88846240731 (diff)
fix pragma warning off/on (pop no work?)
-rw-r--r--include/m/m3d/m_bline.h5
1 files 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: