[Mesa-dev] about EGL_MESA_no_surface extension

Kristian Høgsberg hoegsberg at gmail.com
Mon Apr 30 11:18:54 PDT 2012


On Mon, Apr 30, 2012 at 01:53:34PM +0200, Cooper Yuan wrote:
> just a typo fix for x11 backend

Thanks, applied.  Please Cc me and/or the wayland list for wayland and
weston patches.

Kristian

> ---
>  src/compositor-x11.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/compositor-x11.c b/src/compositor-x11.c
> index 6d9bb0e..304a4d5 100644
> --- a/src/compositor-x11.c
> +++ b/src/compositor-x11.c
> @@ -174,8 +174,8 @@ x11_compositor_init_egl(struct x11_compositor *c)
>   return -1;
>   }
> 
> - if (!eglMakeCurrent(c->base.display, EGL_NO_SURFACE,
> -    EGL_NO_SURFACE, c->base.context)) {
> + if (!eglMakeCurrent(c->base.display, c->dummy_pbuffer,
> +    c->dummy_pbuffer, c->base.context)) {
>   fprintf(stderr, "failed to make context current\n");
>   return -1;
>   }
> -- 
> 
> On Mon, Apr 30, 2012 at 1:27 PM, Rob Bradford <rob at robster.org.uk> wrote:
> 
> > On 30 April 2012 12:10, Cooper Yuan <cooperyuan at gmail.com> wrote:
> > > Yes, That's good: "Recently gbm and Weston were changed to not use this
> > > extension anymore. "
> > > BTW, who is working on personal git to remove this extension from weston?
> >
> >
> > http://cgit.freedesktop.org/wayland/weston/commit/?id=b5ef591faca088e041e5b174145f8a3c2888e5ff
> > which is on master.
> >
> > Cheers,
> >
> > Rob
> >

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list