mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-05 01:24:14 +01:00
[d3d9] Make GetDXVKDevice return a const Rc reference
Avoids some useless reffing.
This commit is contained in:
parent
ac13112619
commit
e976218e17
@ -670,7 +670,7 @@ namespace dxvk {
|
||||
|
||||
HWND GetWindow();
|
||||
|
||||
Rc<DxvkDevice> GetDXVKDevice() {
|
||||
const Rc<DxvkDevice>& GetDXVKDevice() {
|
||||
return m_dxvkDevice;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user