aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-01 16:48:43 +1000
committerTimothy Arceri <[email protected]>2020-07-02 12:11:30 +1000
commitb8409a6af779a53cbb59680ce45b5a0b5c7cd86c (patch)
treec41b2f3d0fd6461bb623a3ac85eb8c8721faf748 /src/egl
parent0d5427fa44ae8cdb74316f5fef18877b92fe0f21 (diff)
egl: move fallthrough comment so gcc can see it
Acked-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/egldevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c
index 415b0508888..cdb8f361acb 100644
--- a/src/egl/main/egldevice.c
+++ b/src/egl/main/egldevice.c
@@ -239,8 +239,8 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name)
case EGL_DRM_DEVICE_FILE_EXT:
if (_eglDeviceSupports(dev, _EGL_DEVICE_DRM))
return dev->device->nodes[DRM_NODE_PRIMARY];
- /* fall through */
#endif
+ /* fall through */
default:
_eglError(EGL_BAD_PARAMETER, "eglQueryDeviceStringEXT");
return NULL;