Skip to content

Commit 2878200

Browse files
Merge pull request #645 from Devsh-Graphics-Programming/new_overflow_on_submit
New IUtilities
2 parents 9147392 + 0bd0eb9 commit 2878200

File tree

5 files changed

+296
-312
lines changed

5 files changed

+296
-312
lines changed

include/nbl/video/IQueue.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ class IQueue : public core::Interface, public core::Unmovable
109109
virtual RESULT waitIdle() const = 0;
110110

111111
// we cannot derive from IBackendObject because we can't derive from IReferenceCounted
112-
inline bool wasCreatedBy(const ILogicalDevice* device) const { return device == m_originDevice; }
112+
inline const ILogicalDevice* getOriginDevice() const {return m_originDevice;}
113+
inline bool wasCreatedBy(const ILogicalDevice* device) const {return device==m_originDevice;}
113114
// Vulkan: const VkQueue*
114115
virtual const void* getNativeHandle() const = 0;
115116

0 commit comments

Comments
 (0)