diff options
| author | Yong He <yonghe@outlook.com> | 2021-04-08 21:10:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-08 21:10:30 -0700 |
| commit | 8a71039475212fb1e1a6dd2fd2911d02769637ef (patch) | |
| tree | 0faa6e773d6b40c3dcbf0eed08217c629f8ebccf /tools/gfx/simple-render-pass-layout.h | |
| parent | d27557d9b770810402a0bf99bcd891c145a1a69d (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.h | 6 |
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: |
