Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gofman <pgofman@codeweavers.com>2021-02-26 14:44:29 +0300
committerAndrew Eikum <aeikum@codeweavers.com>2021-03-31 22:08:10 +0300
commit0a4a8b7a01681c20fd632164a99b2ad627ac08d7 (patch)
tree8c0d4396687794f8b478deffaeba36bbc760342c /wineopenxr
parente70629c08d0ebb8fa4635e386bec7f2ac252087b (diff)
wineopexr: Don't consider XrCompositionLayerColorScaleBiasKHR in convert_XrCompositionLayer().
This structure is not inherited from XrCompositionLayerBaseHeader but is supposed to be passed as chained structure with a layer.
Diffstat (limited to 'wineopenxr')
-rw-r--r--wineopenxr/openxr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/wineopenxr/openxr.c b/wineopenxr/openxr.c
index 09d65a01..e1811df7 100644
--- a/wineopenxr/openxr.c
+++ b/wineopenxr/openxr.c
@@ -42,7 +42,6 @@ union CompositionLayer {
XrCompositionLayerDepthInfoKHR depth_info;
XrCompositionLayerCylinderKHR cylinder;
XrCompositionLayerEquirectKHR equirect;
- XrCompositionLayerColorScaleBiasKHR color_scale_bias;
XrCompositionLayerEquirect2KHR equirect2;
};
@@ -1489,10 +1488,6 @@ static XrCompositionLayerBaseHeader *convert_XrCompositionLayer(wine_XrSession *
out_layer->quad.subImage.swapchain = ((wine_XrSwapchain *)out_layer->quad.subImage.swapchain)->swapchain;
break;
- case XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR:
- /* no conversion needed */
- return (XrCompositionLayerBaseHeader *)in_layer;
-
default:
WINE_WARN("Unknown composition in_layer type: %d\n", in_layer->type);
return (XrCompositionLayerBaseHeader *)in_layer;