Moved consts to the namespace
This commit is contained in:
@@ -14,6 +14,13 @@
|
||||
|
||||
namespace OpenVulkano
|
||||
{
|
||||
namespace
|
||||
{
|
||||
const char *NUM_THREADS_STR = "num_threads";
|
||||
const char *FRAMEBUFFER_CLEAR_COLOR_STR = "framebuffer_clear_color";
|
||||
const char *PREFER_FRAMEBUFFER_FORMAT_SRGB_STR = "prefer_framebuffer_format_srgb";
|
||||
}
|
||||
|
||||
EngineConfiguration::EngineConfiguration()
|
||||
{
|
||||
const std::string filePath = AppFolders::GetAppConfigHomeDir().string() + "/EngineConfig.yml";
|
||||
@@ -22,11 +29,7 @@ namespace OpenVulkano
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const char *NUM_THREADS_STR = "num_threads";
|
||||
const char *FRAMEBUFFER_CLEAR_COLOR_STR = "framebuffer_clear_color";
|
||||
const char *PREFER_FRAMEBUFFER_FORMAT_SRGB_STR = "prefer_framebuffer_format_srgb";
|
||||
|
||||
|
||||
file.seekg(0, std::ios::end);
|
||||
size_t size = file.tellg();
|
||||
std::string buffer(size, ' ');
|
||||
|
||||
Reference in New Issue
Block a user