aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-09-16 19:15:57 +0200
committerAndre Weissflog <floooh@gmail.com>2020-09-16 19:15:57 +0200
commit2a3463f31fecd2ad4930eb2b7da3c4037ab2a7bc (patch)
tree64bc17d202c35586c312e63f82269b80c6945ebb
parent6688b2de432effc13da7c520f4d3cdf2eccb7429 (diff)
sokol_app.h uwp: don't overwrite _sapp.sample_count (instead MSAA must be implemented):
-rw-r--r--sokol_app.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index f3d12214..196d3ab3 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -6135,7 +6135,6 @@ void DeviceResources::CreateWindowSizeDependentResources() {
winrt::check_hresult(dxgiDevice->SetMaximumFrameLatency(1));
// Setup Sokol Context
- _sapp.sample_count = swapChainDesc.SampleDesc.Count;
winrt::check_hresult(swapChain->GetDesc(&_sapp.d3d11.swap_chain_desc));
_sapp.d3d11.swap_chain = m_swapChain.as<IDXGISwapChain3>().detach();
}