Skip to content

Commit e2ff91e

Browse files
committed
bugfix: address compiling problems on linux
Signed-off-by: Michael Pollind <mpollind@gmail.com>
1 parent 6b0389a commit e2ff91e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

include/nbl/system/IAsyncQueueDispatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class IAsyncQueueDispatcherBase
319319
request.exchange(nullptr)->cancel();
320320

321321
// after doing everything, we can mark ourselves as cleaned up
322-
base_t::state.exchangeNotify<false>(base_t::STATE::INITIAL, base_t::STATE::EXECUTING);
322+
base_t::state.template exchangeNotify<false>(base_t::STATE::INITIAL, base_t::STATE::EXECUTING);
323323
return true;
324324
}
325325
// we're here because either:

src/nbl/system/DefaultFuncPtrLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ using namespace nbl::system;
1616
#if defined(_NBL_WINDOWS_API_)
1717
#define LIB reinterpret_cast<HMODULE&>(lib)
1818
#elif defined(_NBL_POSIX_API_)
19-
#define lib
19+
#define LIB lib
2020
#endif
2121

2222
DefaultFuncPtrLoader::DefaultFuncPtrLoader(const char* name) : DefaultFuncPtrLoader()

src/nbl/video/IAPIConnection.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
#include "nbl/video/IPhysicalDevice.h"
44
#include "nbl/video/utilities/renderdoc.h"
55

6+
#if defined(_NBL_POSIX_API_)
7+
#include <dlfcn.h>
8+
#endif
9+
610
namespace nbl::video
711
{
812

0 commit comments

Comments
 (0)