diff --git a/configure b/configure index 9c9436c86a..64efde3ec1 100755 --- a/configure +++ b/configure @@ -4743,7 +4743,7 @@ elif [ "$CFG_OPENGL" = "desktop" ]; then fi if [ "$CFG_EGLFS" != "no" ]; then - if [ "$CFG_OPENGL" = "es2" ] && [ "$XPLATFORM_QNX" = "no" ]; then + if [ "$CFG_OPENGL" = "es2" ] && [ "$CFG_EVDEV" = "yes" ]; then CFG_EGLFS="$CFG_EGL" else CFG_EGLFS="no"