Skip to content

Commit

Permalink
[d3d9] Make GetDXVKDevice return a const Rc reference
Browse files Browse the repository at this point in the history
Avoids some useless reffing.
  • Loading branch information
misyltoad committed Sep 22, 2022
1 parent ac13112 commit e976218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ namespace dxvk {

HWND GetWindow();

Rc<DxvkDevice> GetDXVKDevice() {
const Rc<DxvkDevice>& GetDXVKDevice() {
return m_dxvkDevice;
}

Expand Down

0 comments on commit e976218

Please sign in to comment.