Commit 9195de26 authored by Chuck Walbourn's avatar Chuck Walbourn
Browse files

SimpleDeviceAndSwapChain fix for Release config

parent 6d9b0ec8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -258,9 +258,12 @@ void Sample::CreateDevice()
    }
    else
#endif

    {
#ifdef _DEBUG
        OutputDebugStringA("INFO: Swapchain using 1080p (1920 x 1080)\n");
#endif
    }

    // Initialize device dependent objects here (independent of window size).
    m_graphicsMemory = std::make_unique<GraphicsMemory>(m_d3dDevice.Get(), c_backBufferCount);
+3 −0
Original line number Diff line number Diff line
@@ -284,9 +284,12 @@ void Sample::CreateDevice()
    }
    else
#endif

    {
#ifdef _DEBUG
        OutputDebugStringA("INFO: Swapchain using 1080p (1920 x 1080)\n");
#endif
    }

    // Initialize device dependent objects here (independent of window size).
    m_graphicsMemory = std::make_unique<GraphicsMemory>(m_d3dDevice.Get());