egl: update fallthrough comments
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
parent
148a24f305
commit
842088667f
|
@ -28,6 +28,7 @@
|
|||
#ifdef HAVE_LIBDRM
|
||||
#include <xf86drm.h>
|
||||
#endif
|
||||
#include "util/compiler.h"
|
||||
#include "util/macros.h"
|
||||
|
||||
#include "eglcurrent.h"
|
||||
|
@ -240,7 +241,7 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name)
|
|||
if (_eglDeviceSupports(dev, _EGL_DEVICE_DRM))
|
||||
return dev->device->nodes[DRM_NODE_PRIMARY];
|
||||
#endif
|
||||
/* fall through */
|
||||
FALLTHROUGH;
|
||||
default:
|
||||
_eglError(EGL_BAD_PARAMETER, "eglQueryDeviceStringEXT");
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue