The open source OpenXR runtime
0
fork

Configure Feed

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

c/util: Fix subimage flipping

+4 -2
+4 -2
src/xrt/compositor/util/comp_render.c
··· 125 125 struct xrt_normalized_rect rect = *src_norm_rect; 126 126 127 127 if (data->flip_y ^ invert_flip) { 128 - rect.h = -rect.h; 129 - rect.y = 1.0f + rect.y; 128 + float h = rect.h; 129 + 130 + rect.h = -h; 131 + rect.y = rect.y + h; 130 132 } 131 133 132 134 *out_norm_rect = rect;