fixed problem with compiler overoptimization

This commit is contained in:
h4570
2022-08-18 23:06:07 +02:00
parent 1ba2cb55b7
commit 385849e3b2
4 changed files with 19 additions and 30 deletions
@@ -45,7 +45,6 @@ class Renderer3DUtility {
std::array<PlanesClipVertexPtrs, 3> clipInput;
RendererCore* core;
prim_t prim;
Vec4 convertVertices(const Vec4& v, const Vec4& scale);
@@ -60,7 +59,7 @@ class Renderer3DUtility {
* @return false - To skip (outside view frustum)
*/
bool calcLineVertices(xyz_t* outputArray, const Vec4& a, const Vec4& b,
const u8& displayOffset);
const Vec4& scale);
PlanesClipAlgorithm planesClipAlgorithm;
};