From 9ddc9131f52ea3a0a3080b3fce84dc85a804d739 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Fri, 23 Oct 2020 14:51:09 -0400 Subject: [PATCH] don't need this memcpy now --- src/util_image.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util_image.cpp b/src/util_image.cpp index ff33ef5..d8d8e52 100644 --- a/src/util_image.cpp +++ b/src/util_image.cpp @@ -14,7 +14,6 @@ utilLoadImage(const char* full_path) LOG(Info) << "Loading Image: " << full_path << "\n"; util_image image; - std::memcpy(image.file_path, full_path, std::strlen(full_path) + 1); stbi_set_flip_vertically_on_load(1); image.pixels = stbi_load(full_path, &image.w, &image.h, &image.num_channels, 0); image.bits_per_channel = 8;