egl: warn user if they set an invalid EGL_PLATFORM
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 2 Sep 2019 09:09:58 +0000 (10:09 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 3 Sep 2019 13:41:43 +0000 (14:41 +0100)
commit5f7d90f2ffb3cc6f2c9518870da9009b05c1a063
tree04d2b1983a2ef0474bcccae0b928bd7a7eb9dcce
parent5cdfccf8a6a0528b5112a7f12a4e1eb38a7363a4
egl: warn user if they set an invalid EGL_PLATFORM

Technically, the user might have set EGL_DISPLAY instead of
EGL_PLATFORM, but since the former is deprecated let's just mention the
latter in the warning message.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/egl/main/egldisplay.c