mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Make GetDXVKDevice return a const Rc reference
Avoids some useless reffing.
This commit is contained in:
parent
ac13112619
commit
e976218e17
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ namespace dxvk {
|
||||||
|
|
||||||
HWND GetWindow();
|
HWND GetWindow();
|
||||||
|
|
||||||
Rc<DxvkDevice> GetDXVKDevice() {
|
const Rc<DxvkDevice>& GetDXVKDevice() {
|
||||||
return m_dxvkDevice;
|
return m_dxvkDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue