render/egl: fix typo

This commit is contained in:
yuiiio 2021-07-27 07:35:36 +09:00 committed by GitHub
parent 770a561bce
commit 7667ab73bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ int wlr_egl_dup_drm_fd(struct wlr_egl *egl) {
char *render_name = NULL;
#ifdef EGL_EXT_device_drm_render_node
if (egl->exts.device_drm_render_node_ext) {
if (egl->exts.EXT_device_drm_render_node) {
const char *name = egl->procs.eglQueryDeviceStringEXT(egl->device,
EGL_DRM_RENDER_NODE_FILE_EXT);
if (name == NULL) {