The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/main: Fix incorrect surface format matching

korejan 159f22e4 45fd181f

+1 -1
+1 -1
src/xrt/compositor/main/comp_target_swapchain.c
··· 222 222 for (uint32_t k = 0; k < surface_format_count; k++) { 223 223 if (surface_formats[k].format == format) { 224 224 // Perfect match. 225 - *out_surface_format = surface_formats[i]; 225 + *out_surface_format = surface_formats[k]; 226 226 return true; 227 227 } 228 228 }