Skip to content

Commit 2227505

Browse files
committed
wipe _NBL_APP_NAME_ define reference from nbl/application_templates/MonoDeviceApplication.hpp to allow some headers to be used in examples PCH, update examples_tests submodule
1 parent 7f85f18 commit 2227505

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/nbl/application_templates/MonoDeviceApplication.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class MonoDeviceApplication : public virtual MonoSystemMonoLoggerApplication
4141
using namespace nbl::core;
4242
using namespace nbl::video;
4343
// TODO: specify version of the app
44-
m_api = CVulkanConnection::create(smart_refctd_ptr(m_system),0,_NBL_APP_NAME_,smart_refctd_ptr(base_t::m_logger),getAPIFeaturesToEnable());
44+
// TODO: take APP NAME from executable metadata, DO NOT use defines in order to allow this to be part of examples PCH
45+
m_api = CVulkanConnection::create(smart_refctd_ptr(m_system),0,"Nabla Example", smart_refctd_ptr(base_t::m_logger), getAPIFeaturesToEnable());
4546
if (!m_api)
4647
return logFail("Failed to crate an IAPIConnection!");
4748

0 commit comments

Comments
 (0)