Skip to content

Commit

Permalink
[d3d8] Make m_depthStencil ref private
Browse files Browse the repository at this point in the history
Should fix Motor City Online
  • Loading branch information
AlpyneDreams committed Mar 5, 2023
1 parent 8ddf18f commit bcad6a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/d3d8/d3d8_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -860,11 +860,12 @@ namespace dxvk {
Com<D3D8IndexBuffer> m_indices;
INT m_baseVertexIndex = 0;

// TODO: Which of these should be a private ref
std::vector<Com<D3D8Surface, false>> m_backBuffers;
Com<D3D8Surface> m_frontBuffer;

Com<D3D8Surface> m_renderTarget;
Com<D3D8Surface> m_depthStencil;
Com<D3D8Surface, false> m_depthStencil;

std::vector<D3D8VertexShaderInfo> m_vertexShaders;
std::vector<d3d9::IDirect3DPixelShader9*> m_pixelShaders;
Expand Down

0 comments on commit bcad6a4

Please sign in to comment.