Try to get rid of SIZE_32 macro

This commit is contained in:
Nekotekina 2018-09-03 18:46:14 +03:00
parent 7bccdbf157
commit ce4c4696dd
18 changed files with 82 additions and 87 deletions

View file

@ -309,7 +309,7 @@ public:
m_arb_shader += fmt::format("#%d ", i) + param_type + param_name + param_semantic + param_const + "\n";
offset += SIZE_32(CgBinaryParameter);
offset += sizeof(CgBinaryParameter);
}
m_arb_shader += "\n";
@ -366,7 +366,7 @@ public:
m_arb_shader += fmt::format("#%d ", i) + param_type + param_name + param_semantic + param_const + "\n";
offset += SIZE_32(CgBinaryParameter);
offset += sizeof(CgBinaryParameter);
}
m_arb_shader += "\n";