Skip to content

Commit 9febdd3

Browse files
committed
Fix ci
1 parent 25ba1e4 commit 9febdd3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/cpp-tests/Source/MeshRendererTest/DrawNode3D.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ void DrawNode3D::drawLine(const Vec3& from, const Vec3& to, const Color4F& color
147147
unsigned int vertex_count = 2;
148148
ensureCapacity(vertex_count);
149149

150-
_bufferLines.emplace_back(from);
151-
_bufferLines.emplace_back(to);
150+
_bufferLines.emplace_back(from, color);
151+
_bufferLines.emplace_back(to, color);
152152

153153
_isDirty = true;
154154
}

tests/cpp-tests/Source/MeshRendererTest/DrawNode3D.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class DrawNode3D : public ax::Node
9898
backend::ProgramState* _programStateLine = nullptr;
9999
backend::DepthStencilDescriptor* _depthstencilDescriptor = nullptr;
100100
backend::UniformLocation _locMVPMatrix;
101-
std::vector<V3F_C4F> _bufferLines;
101+
axstd::pod_vector<V3F_C4F> _bufferLines;
102102

103103
private:
104104
AX_DISALLOW_COPY_AND_ASSIGN(DrawNode3D);

0 commit comments

Comments
 (0)