[dxgi] Re-enable strong reference to DxgiAdapter in DxgiOutput

This commit is contained in:
Philip Rebohle 2018-04-12 01:51:28 +02:00
parent c9c3bc12cc
commit 654e9e6fd8
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
namespace dxvk {
DxgiOutput::DxgiOutput(
DxgiAdapter* adapter,
const Com<DxgiAdapter>& adapter,
HMONITOR monitor)
: m_adapter(adapter),
m_monitor(monitor) {

View File

@ -14,8 +14,8 @@ namespace dxvk {
public:
DxgiOutput(
DxgiAdapter* adapter,
HMONITOR monitor);
const Com<DxgiAdapter>& adapter,
HMONITOR monitor);
~DxgiOutput();
@ -69,7 +69,7 @@ namespace dxvk {
private:
DxgiAdapter* m_adapter = nullptr;
Com<DxgiAdapter> m_adapter = nullptr;
HMONITOR m_monitor = nullptr;
uint32_t GetFormatBpp(DXGI_FORMAT Format) const;