mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 18:28:00 +02:00
Use the dummy pbuffer we create to make current
This commit is contained in:
parent
5f5f31939d
commit
4577adce8c
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue