summaryrefslogtreecommitdiff
path: root/src/resources/Resources.cpp
diff options
context:
space:
mode:
authorStephen Enders <84310577289916ceefd4132143fb36b63a5f0c71>2022-06-24 21:35:03 -0400
committerSteph Enders <smenders@gmail.com>2022-06-24 17:37:11 -0400
commitde7cc1f12273ae80f4d972b0dbfc48066f851684 (patch)
tree5007501ef4a00828b2febe4d48656da6eaace228 /src/resources/Resources.cpp
parentab37629c6e4798654fca1d533a611da7986b5053 (diff)
Fix compilation for Windows
I left a few changes undone in the Windows API. This should be cross platform now
Diffstat (limited to 'src/resources/Resources.cpp')
-rw-r--r--src/resources/Resources.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/Resources.cpp b/src/resources/Resources.cpp
index 11f762f..3ae93f4 100644
--- a/src/resources/Resources.cpp
+++ b/src/resources/Resources.cpp
@@ -29,6 +29,11 @@
#include <cassert>
#include <iostream>
+Resources::Resources() {
+ this->font = std::make_shared<std::filesystem::path>();
+ this->defaultsLua = std::make_shared<std::filesystem::path>();
+}
+
void Resources::loadFontFiles() {
// We will search 1 level deep
for (auto &base : this->fontSearchDirs()) {