mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Add xwayland activate and fix EGL bug
This commit is contained in:
parent
906a816abf
commit
220a6e9bf6
8 changed files with 36 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue