Add xwayland activate and fix EGL bug

This commit is contained in:
Drew DeVault 2017-09-28 09:11:16 -04:00
parent 906a816abf
commit 220a6e9bf6
8 changed files with 36 additions and 4 deletions

View file

@ -227,13 +227,13 @@ static void gles2_texture_get_buffer_size(struct wlr_texture *texture, struct
return;
}
if (!wlr_egl_query_buffer(tex->egl, resource, EGL_WIDTH,
(EGLint*)&width)) {
(EGLint*)width)) {
wlr_log(L_ERROR, "could not get size of the buffer "
"(no buffer found)");
return;
};
wlr_egl_query_buffer(tex->egl, resource, EGL_HEIGHT,
(EGLint*)&height);
(EGLint*)height);
return;
}