diff options
author | Gabor Koncz <gabor.koncz@migeran.com> | 2022-09-26 09:04:12 +0200 |
---|---|---|
committer | Gabor Koncz <gabor.koncz@migeran.com> | 2022-09-27 12:26:53 +0200 |
commit | 72203a4da40abbf9fbbdca9f9a55b0199b061991 (patch) | |
tree | 043608e0ab50ee4eaad969dfe524a3c8ee390346 /modules/openxr/extensions/openxr_composition_layer_provider.h | |
parent | 52aae6d4f11c1142cc644e43d116c3d80ebdd73b (diff) |
Add Passthrough extension wrapper
Diffstat (limited to 'modules/openxr/extensions/openxr_composition_layer_provider.h')
-rw-r--r-- | modules/openxr/extensions/openxr_composition_layer_provider.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/openxr/extensions/openxr_composition_layer_provider.h b/modules/openxr/extensions/openxr_composition_layer_provider.h index 019dffa2a8..ba51389f7d 100644 --- a/modules/openxr/extensions/openxr_composition_layer_provider.h +++ b/modules/openxr/extensions/openxr_composition_layer_provider.h @@ -36,10 +36,9 @@ // Interface for OpenXR extensions that provide a composition layer. class OpenXRCompositionLayerProvider { public: - // TODO changed to normal method definition for now - // CI complains until we implement this, haven't ported it yet from plugin - // virtual XrCompositionLayerBaseHeader *get_composition_layer() = 0; - XrCompositionLayerBaseHeader *get_composition_layer() { return nullptr; }; + virtual XrCompositionLayerBaseHeader *get_composition_layer() = 0; + + virtual ~OpenXRCompositionLayerProvider() {} }; #endif // OPENXR_COMPOSITION_LAYER_PROVIDER_H |