Fix white screen issue

something to do with the renderer being destroyed every time you transition from screen view to game view
This commit is contained in:
Simon 2023-12-21 21:43:06 +00:00
parent 06c85581b6
commit af4cabfd64

View file

@ -1972,8 +1972,12 @@ void TBXR_submitFrame()
if (usingScreenLayer) {
usingScreenLayer = qfalse;
float configuredSuperSampling = Cvar_VariableValue("vr_super_sampling");
if (configuredSuperSampling != 0.0f && configuredSuperSampling != superSampling)
{
VR_ResetRenderer();
}
}
memset(&projection_layer, 0, sizeof(XrCompositionLayerProjection));
projection_layer.type = XR_TYPE_COMPOSITION_LAYER_PROJECTION;