Change-Id: Ib706600f802386234ad7e682b37571bfad65089b
+* Thu Jun 27 2013 Rusty Lynch <rusty.lynch@intel.com> submit/tizen/20130624.231020@fa32cb2
+- Explicitly set EGL_PLATFORM when using wayland
+
* Mon Jun 24 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130611.152517@f49a645
- Add build config support for X11
- Add build config for decrypt support
app_argc = argc;
app_argv = argv;
+#ifndef X11
+ // Mesa does a bad job detecting the correct EGL
+ // platform to use, and ends up assuming that the
+ // wrt-client is using X
+ setenv("EGL_PLATFORM", "wayland", 1);
+#endif
+
UNHANDLED_EXCEPTION_HANDLER_BEGIN
{
ADD_PROFILING_POINT("main-entered", "point");