mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-28 07:54:14 +01:00
[dxgi] Remove unnecessary debug output
This commit is contained in:
parent
dd3f4c89ac
commit
a2f96f9728
@ -273,7 +273,6 @@ namespace dxvk {
|
|||||||
HRESULT STDMETHODCALLTYPE DxgiOutput::SetGammaControl(const DXGI_GAMMA_CONTROL *pArray) {
|
HRESULT STDMETHODCALLTYPE DxgiOutput::SetGammaControl(const DXGI_GAMMA_CONTROL *pArray) {
|
||||||
Com<DxgiSwapChain> swapChain = GetFullscreenSwapChain();
|
Com<DxgiSwapChain> swapChain = GetFullscreenSwapChain();
|
||||||
|
|
||||||
Logger::err(str::format("DxgiOutput::SetGammaControl ", swapChain.ptr()));
|
|
||||||
return swapChain != nullptr
|
return swapChain != nullptr
|
||||||
? swapChain->SetGammaControl(pArray)
|
? swapChain->SetGammaControl(pArray)
|
||||||
: DXGI_ERROR_NOT_CURRENTLY_AVAILABLE;
|
: DXGI_ERROR_NOT_CURRENTLY_AVAILABLE;
|
||||||
@ -298,7 +297,6 @@ namespace dxvk {
|
|||||||
std::lock_guard<std::mutex> lock(m_mutex);
|
std::lock_guard<std::mutex> lock(m_mutex);
|
||||||
|
|
||||||
if (m_fullscreenSwapChain == pExpected) {
|
if (m_fullscreenSwapChain == pExpected) {
|
||||||
Logger::err(str::format("SetSwapChain: ", pDesired));
|
|
||||||
m_fullscreenSwapChain = pDesired;
|
m_fullscreenSwapChain = pDesired;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} return FALSE;
|
} return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user