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 {
|
namespace dxvk {
|
||||||
|
|
||||||
DxgiOutput::DxgiOutput(
|
DxgiOutput::DxgiOutput(
|
||||||
DxgiAdapter* adapter,
|
const Com<DxgiAdapter>& adapter,
|
||||||
HMONITOR monitor)
|
HMONITOR monitor)
|
||||||
: m_adapter(adapter),
|
: m_adapter(adapter),
|
||||||
m_monitor(monitor) {
|
m_monitor(monitor) {
|
||||||
|
@ -14,8 +14,8 @@ namespace dxvk {
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
DxgiOutput(
|
DxgiOutput(
|
||||||
DxgiAdapter* adapter,
|
const Com<DxgiAdapter>& adapter,
|
||||||
HMONITOR monitor);
|
HMONITOR monitor);
|
||||||
|
|
||||||
~DxgiOutput();
|
~DxgiOutput();
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
DxgiAdapter* m_adapter = nullptr;
|
Com<DxgiAdapter> m_adapter = nullptr;
|
||||||
HMONITOR m_monitor = nullptr;
|
HMONITOR m_monitor = nullptr;
|
||||||
|
|
||||||
uint32_t GetFormatBpp(DXGI_FORMAT Format) const;
|
uint32_t GetFormatBpp(DXGI_FORMAT Format) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user