Skip to content

Commit

Permalink
Fix incorrect recommended MSAA sample count.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbucchia committed Jul 31, 2022
1 parent e322b26 commit 75c575d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pimax-openxr/swapchain.cpp
Expand Up @@ -160,7 +160,8 @@ namespace pimax_openxr {
// 8x MSAA for all render target formats except R32G32B32A32 formats.".
// We could go and check every supported render target formats to find a possibly higher count, but we
// do not bother.
views[i].recommendedSwapchainSampleCount = views[i].maxSwapchainSampleCount = 8;
views[i].maxSwapchainSampleCount = 8;
views[i].recommendedSwapchainSampleCount = 1;

// Recommend the resolution with distortion accounted for.
// There is a DistortedViewport in the EyeInfo struct, however the sample code uses
Expand Down

0 comments on commit 75c575d

Please sign in to comment.