diff options
-rw-r--r-- | src/egl/main/egldisplay.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 05720015c24..8d06e717c20 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -105,6 +105,9 @@ _eglGetNativePlatformFromEnv(void) } } + if (plat == _EGL_INVALID_PLATFORM) + _eglLog(_EGL_WARNING, "invalid EGL_PLATFORM given"); + return plat; } |