mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
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.
This commit is contained in:
parent
e70629c08d
commit
0a4a8b7a01
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user