commit | 0e3efa51570460fe5c76b54d91e10296d2456283 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <nicolascapens@chromium.org> | Fri May 16 16:54:23 2014 -0400 |
committer | Nicolas Capens <nicolascapens@chromium.org> | Tue May 20 19:30:00 2014 +0000 |
tree | 4d0603575ef96e58801836402b2f9c6bfa56839c | |
parent | 784371d02a86e44b51ec4944b0077ba771cfce43 [diff] |
Explicitly set the swap effect. swapChainDesc.SwapEffect wasn't being set. The whole structure was initialized to 0 and DXGI_SWAP_EFFECT_DISCARD has value 0 so this should have no effect. Also sorted the field initialization in the order they're declared. BUG=373360 Change-Id: If0113e7468c0bad024a07fec6ad9e223e19494b5 Reviewed-on: https://chromium-review.googlesource.com/200046 Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Nicolas Capens <nicolascapens@chromium.org>