diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-28 09:11:16 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-28 09:11:16 -0400 |
commit | 220a6e9bf637471f3f5e392d3c3fb76ae9b7e138 (patch) | |
tree | dfd4c5b7186f9cb260046f58c7f02848822a757a /render/gles2 | |
parent | 906a816abf812445ec9e514e6115872632fb3ee1 (diff) |
Add xwayland activate and fix EGL bug
Diffstat (limited to 'render/gles2')
-rw-r--r-- | render/gles2/texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c index f6a9d7eb..98d1a112 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -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; } |