summaryrefslogtreecommitdiff
path: root/tools/gfx/simple-render-pass-layout.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-08 21:10:30 -0700
committerGitHub <noreply@github.com>2021-04-08 21:10:30 -0700
commit8a71039475212fb1e1a6dd2fd2911d02769637ef (patch)
tree0faa6e773d6b40c3dcbf0eed08217c629f8ebccf /tools/gfx/simple-render-pass-layout.h
parentd27557d9b770810402a0bf99bcd891c145a1a69d (diff)
Improve robustness of gfx lifetime management. (#1788)
* Improve robustness of gfx lifetime management. * fix clang error * fix clang error * Fix clang warning
Diffstat (limited to 'tools/gfx/simple-render-pass-layout.h')
-rw-r--r--tools/gfx/simple-render-pass-layout.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gfx/simple-render-pass-layout.h b/tools/gfx/simple-render-pass-layout.h
index 54d1e5649..14fffe37f 100644
--- a/tools/gfx/simple-render-pass-layout.h
+++ b/tools/gfx/simple-render-pass-layout.h
@@ -6,7 +6,7 @@
// concept.
#include "slang-gfx.h"
-#include "slang-com-helper.h"
+#include "core/slang-com-object.h"
#include "core/slang-basic.h"
namespace gfx
@@ -14,10 +14,10 @@ namespace gfx
class SimpleRenderPassLayout
: public IRenderPassLayout
- , public Slang::RefObject
+ , public Slang::ComObject
{
public:
- SLANG_REF_OBJECT_IUNKNOWN_ALL
+ SLANG_COM_OBJECT_IUNKNOWN_ALL
IRenderPassLayout* getInterface(const Slang::Guid& guid);
public: