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:
Pierre-Eric Pelloux-Prayer 2020-11-24 11:38:11 +01:00
parent 148a24f305
commit 842088667f
1 changed files with 2 additions and 1 deletions

View File

@ -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;