[Filesystem] Changed fs_debug logging option
diff --git a/src/docs/Changelog b/src/docs/Changelog
index 7677d95..bf87a4b 100644
--- a/src/docs/Changelog
+++ b/src/docs/Changelog
@@ -1,3 +1,9 @@
+2021-04-04 Dusan Jocic <dusanjocic@msn.com>
+ * [Filesystem] Changed fs_debug logging option
+
+2021-04-03 Dusan Jocic <dusanjocic@msn>
+ * [RendererSystem} Addressed the problem with DPI inside the engine
+
2021-04-01 Dusan Jocic <dusanjocic@msn.com>
* [Engine] Changed protocol version to 1001,
* [Engine] Changed port for the master server to 12950
diff --git a/src/engine/GPURenderer/r_glimp.cpp b/src/engine/GPURenderer/r_glimp.cpp
index 38f5f1c..0e3b9a7 100644
--- a/src/engine/GPURenderer/r_glimp.cpp
+++ b/src/engine/GPURenderer/r_glimp.cpp
@@ -416,7 +416,7 @@ static float32 GLimp_GetDPIScale( sint display )
scale = ::roundf( ddpi / 96.0f );
}
}
-
+
return scale;
}
diff --git a/src/engine/framework/FileSystem.cpp b/src/engine/framework/FileSystem.cpp
index 0d04fbc..7c1896f 100644
--- a/src/engine/framework/FileSystem.cpp
+++ b/src/engine/framework/FileSystem.cpp
@@ -4086,7 +4086,10 @@ void idFileSystemLocal::Startup( pointer gameName )
ReorderPurePaks();
//print the current search paths
- idFileSystemLocal::Path_f();
+ if( fs_debug->integer )
+ {
+ idFileSystemLocal::Path_f();
+ }
fs_gamedirvar->modified = false; // We just loaded, it's not modified
GitHub
sha: 91220d64