diff --git a/src/d3d11/d3d11_device_child.h b/src/d3d11/d3d11_device_child.h index facb901f..9e4a8a0e 100644 --- a/src/d3d11/d3d11_device_child.h +++ b/src/d3d11/d3d11_device_child.h @@ -6,8 +6,8 @@ namespace dxvk { - template - class D3D11DeviceChild : public ComObject { + template class Wrapper = ComObject> + class D3D11DeviceChild : public Wrapper { public: diff --git a/src/util/com/com_object.h b/src/util/com/com_object.h index ab8d8b6f..674927d4 100644 --- a/src/util/com/com_object.h +++ b/src/util/com/com_object.h @@ -8,6 +8,9 @@ namespace dxvk { + template + using NoWrapper = T; + /** * \brief Reference-counted COM object *