diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-04-13 08:07:01 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-04-13 08:07:01 +0000 |
commit | 482328525369e54161ccc11c7a2ea4475aaa58fc (patch) | |
tree | 0b7b779c3aab9a33bf3ac34cbd75581bbecb9972 /xserver/glamor/glamor_picture.c | |
parent | c6893de69de1189cf7230e18ebfe8ebafb5ff2f0 (diff) |
Update to xserver 1.20.8. ok jsg@ robert@
Diffstat (limited to 'xserver/glamor/glamor_picture.c')
-rw-r--r-- | xserver/glamor/glamor_picture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/glamor/glamor_picture.c b/xserver/glamor/glamor_picture.c index 84a33ad6a..685d8d618 100644 --- a/xserver/glamor/glamor_picture.c +++ b/xserver/glamor/glamor_picture.c @@ -340,8 +340,10 @@ glamor_upload_picture_to_texture(PicturePtr picture) else iformat = format; - if (!glamor_pixmap_ensure_fbo(pixmap, iformat, GLAMOR_CREATE_FBO_NO_FBO)) + if (!glamor_pixmap_ensure_fbo(pixmap, iformat, GLAMOR_CREATE_FBO_NO_FBO)) { + ret = FALSE; goto fail; + } glPixelStorei(GL_UNPACK_ALIGNMENT, 4); |