From 192495475892a7dbee5aacf625d32d945f879be4 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 4 Sep 2023 00:42:00 -0600 Subject: [PATCH] build: fix clang-cl build --- lightpreview/glview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightpreview/glview.cpp b/lightpreview/glview.cpp index bc89f32b..d077070b 100644 --- a/lightpreview/glview.cpp +++ b/lightpreview/glview.cpp @@ -1397,7 +1397,7 @@ void GLView::renderBSP(const QString &file, const mbsp_t &bsp, const bspxentries double y = split[1].toDouble(); double z = split[2].toDouble(); - points.emplace_back(qvec3f{(float)x, (float)y, (float)z}); + points.push_back(simple_vertex_t{qvec3f{(float)x, (float)y, (float)z}}); num_leak_points++; } @@ -1433,7 +1433,7 @@ void GLView::renderBSP(const QString &file, const mbsp_t &bsp, const bspxentries for (auto &pt : portal.winding) { indices.push_back(current_index++); - points.emplace_back(pt); + points.push_back(simple_vertex_t{qvec3f{pt}}); } indices.push_back((GLuint)-1);