[Mesa-dev] about EGL_MESA_no_surface extension
Cooper Yuan
cooperyuan at gmail.com
Mon Apr 30 04:53:34 PDT 2012
just a typo fix for x11 backend
---
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120430/d44c0a41/attachment.htm>
More information about the mesa-dev
mailing list