1
0
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:
Joshua Ashton 2022-09-21 20:33:45 +00:00 committed by Joshie
parent ac13112619
commit e976218e17

View File

@ -670,7 +670,7 @@ namespace dxvk {
HWND GetWindow();
Rc<DxvkDevice> GetDXVKDevice() {
const Rc<DxvkDevice>& GetDXVKDevice() {
return m_dxvkDevice;
}