summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiaowei Guan <xiaowei.guan@samsung.com>2019-04-12 15:14:27 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2019-04-19 02:57:13 +0800
commit9d06c14cab58a385070d2577f84e33d7b50cc3b5 (patch)
tree4237934cde03eae0797f7ee876421e215c9bfbe5 /src
parent3c009836cc0603befb83d374acff07a93790f1b5 (diff)
downloadmesa-9d06c14cab58a385070d2577f84e33d7b50cc3b5.tar.gz
mesa-9d06c14cab58a385070d2577f84e33d7b50cc3b5.tar.bz2
mesa-9d06c14cab58a385070d2577f84e33d7b50cc3b5.zip
EFL will change EGL_PLATFORM, to avoid conflict with EFL, so Mesa use EGL_PLATFORM_MESA
Change-Id: I66fe15612e7c84b2adc116be2a5796a7d4daed4f
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/egldisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c
index 96c8072d03a..fbfb7446105 100644
--- a/src/egl/main/egldisplay.c
+++ b/src/egl/main/egldisplay.c
@@ -84,7 +84,7 @@ _eglGetNativePlatformFromEnv(void)
const char *plat_name;
EGLint i;
- plat_name = getenv("EGL_PLATFORM");
+ plat_name = getenv("EGL_PLATFORM_MESA");
/* try deprecated env variable */
if (!plat_name || !plat_name[0])
plat_name = getenv("EGL_DISPLAY");