mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
move window-related code from Engine.cpp to WindowControl
This commit is contained in:
parent
87ff77a73f
commit
4bafad708e
6 changed files with 116 additions and 60 deletions
|
|
@ -67,7 +67,7 @@ const std::filesystem::path& EnginePaths::getResourcesFolder() const {
|
|||
return resourcesFolder;
|
||||
}
|
||||
|
||||
io::path EnginePaths::getNewScreenshotFile(const std::string& ext) {
|
||||
io::path EnginePaths::getNewScreenshotFile(const std::string& ext) const {
|
||||
auto folder = SCREENSHOTS_FOLDER;
|
||||
if (!io::is_directory(folder)) {
|
||||
io::create_directories(folder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue