Is it compiling on all builds without errors? AFAIK `SwapChain2` is available only on DX11.2 builds.