Move Rift submitframe call outside the if(refresh) block.
Move Rift submitframe call outside the if(refresh) block.

Indeed, even if we don't ask to refresh the framebuffer or if the Camera::grab() doesn't catch a new frame, we have to submit an image to the Rift; it needs 75Hz refresh. Else there will be jumbs, black frames and/or glitches in the headset.

stereolabs/zed-oculus