This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch glth
in repository efl.

View the commit online.

commit 6f700eacc510aca20bc36aef6a06818683fb82e3
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Mon Aug 28 15:45:53 2017 +0900

    xxx
---
 src/modules/evas/engines/wayland_egl/evas_wl_main.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index 86c1aa047b..0b4ff95134 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -63,10 +63,13 @@ _orig_eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h,
    config_attrs[n++] = depth_bits;
    config_attrs[n++] = EGL_STENCIL_SIZE;
    config_attrs[n++] = stencil_bits;
-   config_attrs[n++] = EGL_SAMPLES;
-   config_attrs[n++] = msaa_bits;
-   config_attrs[n++] = EGL_SAMPLE_BUFFERS;
-   config_attrs[n++] = 1;
+   if (msaa_bits > 0)
+     {
+        config_attrs[n++] = EGL_SAMPLE_BUFFERS;
+        config_attrs[n++] = 1;
+        config_attrs[n++] = EGL_SAMPLES;
+        config_attrs[n++] = msaa_bits;
+     }
    config_attrs[n++] = EGL_NONE;
 
    /* FIXME: Remove this line as soon as eglGetDisplay() autodetection
@@ -195,7 +198,7 @@ _gl_thread_eng_window_new(void *data)
 
    evas_gl_thread_begin();
 
-   thread_param->return_value = _orig_eng_window_new(thread_param->evas,
+    thread_param->return_value = _orig_eng_window_new(thread_param->evas,
                                                      thread_param->einfo,
                                                      thread_param->w,
                                                      thread_param->h,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to