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:
parent
94ef130a4e
commit
8cc8e80eae
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue