Release build fixed

This commit is contained in:
Lubos 2022-04-30 17:03:54 +02:00
parent 405ca571ad
commit 30c9b4eaa0

View file

@ -426,9 +426,9 @@ void VR_DrawFrame( engine_t* engine ) {
ovrFramebuffer_Release(frameBuffer);
ovrFramebuffer_SetNone();
XrCompositionLayerProjectionView projection_layer_elements[2] = {};
if (!VR_useScreenLayer() && !(cl.snap.ps.pm_flags & PMF_FOLLOW && vr.follow_mode == VRFM_FIRSTPERSON)) {
XrCompositionLayerProjectionView projection_layer_elements[2] = {};
for (int eye = 0; eye < ovrMaxNumEyes; eye++) {
ovrFramebuffer* frameBuffer = &engine->appState.Renderer.FrameBuffer;