mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-28 07:54:14 +01:00
[dxgi] Re-enable strong reference to DxgiAdapter in DxgiOutput
This commit is contained in:
parent
c9c3bc12cc
commit
654e9e6fd8
@ -13,7 +13,7 @@
|
||||
namespace dxvk {
|
||||
|
||||
DxgiOutput::DxgiOutput(
|
||||
DxgiAdapter* adapter,
|
||||
const Com<DxgiAdapter>& adapter,
|
||||
HMONITOR monitor)
|
||||
: m_adapter(adapter),
|
||||
m_monitor(monitor) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user