mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-10 14:52:00 +00:00
Fix missing intro movies on Quest
This commit is contained in:
parent
ca40a99ec1
commit
d28bd8aa9c
1 changed files with 2 additions and 1 deletions
|
@ -1982,6 +1982,7 @@ void TBXR_submitFrame()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
//Empty black projection for now
|
//Empty black projection for now
|
||||||
memset(&projection_layer, 0, sizeof(XrCompositionLayerProjection));
|
memset(&projection_layer, 0, sizeof(XrCompositionLayerProjection));
|
||||||
projection_layer.type = XR_TYPE_COMPOSITION_LAYER_PROJECTION;
|
projection_layer.type = XR_TYPE_COMPOSITION_LAYER_PROJECTION;
|
||||||
|
@ -2003,7 +2004,7 @@ void TBXR_submitFrame()
|
||||||
|
|
||||||
// Compose the layers for this frame.
|
// Compose the layers for this frame.
|
||||||
layers[layerCount++] = (const XrCompositionLayerBaseHeader*)&projection_layer;
|
layers[layerCount++] = (const XrCompositionLayerBaseHeader*)&projection_layer;
|
||||||
|
#endif
|
||||||
memset(&quad_layer, 0, sizeof(XrCompositionLayerQuad));
|
memset(&quad_layer, 0, sizeof(XrCompositionLayerQuad));
|
||||||
|
|
||||||
// Build the quad layers
|
// Build the quad layers
|
||||||
|
|
Loading…
Reference in a new issue