Fix VR build failure due to implicit fallthrough

The fallthrough appears to be intentional.  Add an annotation to allow
it.

Fixes: 6bc0e822d2 ("Handle HUD overlays in separate screen rects for stereo renderings.")
This commit is contained in:
Kp 2021-04-04 22:01:25 +00:00
parent 94ef130a4e
commit 8cc8e80eae

View file

@ -1324,6 +1324,7 @@ void ogl_stereo_frame(int xeye, int xoff)
// center unsqueezed side-by-side format
case STEREO_SIDE_BY_SIDE2:
ogl_stereo_viewport[1] -= ogl_stereo_viewport[3]/2; // y = h/4
DXX_BOOST_FALLTHROUGH;
// half-width viewports for side-by-side format
case STEREO_SIDE_BY_SIDE:
ogl_stereo_viewport[0] += ogl_stereo_viewport[2]; // x = w/2