Skip to content

Commit

Permalink
Удален неиспользуемый код.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0lt committed Mar 1, 2024
1 parent 8ab7a03 commit 7680f20
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Source/DX9VideoProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ CDX9VideoProcessor::CDX9VideoProcessor(CMpcVideoRenderer* pFilter, const Setting
m_bConvertToSdr = config.bConvertToSdr;

m_nCurrentAdapter = D3DADAPTER_DEFAULT;
m_pDisplayMode = &m_DisplayMode;

hr = Direct3DCreate9Ex(D3D_SDK_VERSION, &m_pD3DEx);
if (!m_pD3DEx || FAILED(hr)) {
Expand Down
2 changes: 0 additions & 2 deletions Source/VideoProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ void CVideoProcessor::SetDisplayInfo(const DisplayConfig_t& dc, const bool prima
}
}
}
} else {
m_strStatsDispInfo.append(D3DDisplayModeToString(*m_pDisplayMode));
}

if (primary) {
Expand Down
1 change: 0 additions & 1 deletion Source/VideoProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ class CVideoProcessor
std::wstring m_strStatsHDR;
std::wstring m_strStatsPresent;
int m_iSrcFromGPU = 0;
D3DDISPLAYMODEEX* m_pDisplayMode = nullptr;
const wchar_t* m_strShaderX = nullptr;
const wchar_t* m_strShaderY = nullptr;
int m_StatsFontH = 14;
Expand Down

0 comments on commit 7680f20

Please sign in to comment.