egl: move fallthrough comment so gcc can see it

Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>
This commit is contained in:
Timothy Arceri 2020-07-01 16:48:43 +10:00
parent 0d5427fa44
commit b8409a6af7

View file

@ -239,8 +239,8 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name)
case EGL_DRM_DEVICE_FILE_EXT: case EGL_DRM_DEVICE_FILE_EXT:
if (_eglDeviceSupports(dev, _EGL_DEVICE_DRM)) if (_eglDeviceSupports(dev, _EGL_DEVICE_DRM))
return dev->device->nodes[DRM_NODE_PRIMARY]; return dev->device->nodes[DRM_NODE_PRIMARY];
/* fall through */
#endif #endif
/* fall through */
default: default:
_eglError(EGL_BAD_PARAMETER, "eglQueryDeviceStringEXT"); _eglError(EGL_BAD_PARAMETER, "eglQueryDeviceStringEXT");
return NULL; return NULL;