mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
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:
parent
06c85581b6
commit
af4cabfd64
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue