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,7 +1972,11 @@ void TBXR_submitFrame()
|
||||||
|
|
||||||
if (usingScreenLayer) {
|
if (usingScreenLayer) {
|
||||||
usingScreenLayer = qfalse;
|
usingScreenLayer = qfalse;
|
||||||
VR_ResetRenderer();
|
float configuredSuperSampling = Cvar_VariableValue("vr_super_sampling");
|
||||||
|
if (configuredSuperSampling != 0.0f && configuredSuperSampling != superSampling)
|
||||||
|
{
|
||||||
|
VR_ResetRenderer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&projection_layer, 0, sizeof(XrCompositionLayerProjection));
|
memset(&projection_layer, 0, sizeof(XrCompositionLayerProjection));
|
||||||
|
|
Loading…
Reference in a new issue