diff options
author | Maarten Lankhorst <maarten.lankhorst@ubuntu.com> | 2015-01-12 15:29:34 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-03-24 12:01:38 -0700 |
commit | c1f35c3d862f77cbd2fb871be5613fb0ca7e508b (patch) | |
tree | c9cf29396b40afe216b79bfb5ccebac46867d492 /glamor/glamor_transfer.c | |
parent | b66501b4fd9c392e0f971ea356b27eb71c9c9e79 (diff) |
glamor: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER
The latter might not be available on GLES2.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor/glamor_transfer.c')
-rw-r--r-- | glamor/glamor_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_transfer.c b/glamor/glamor_transfer.c index c920435a6..aa5e8616e 100644 --- a/glamor/glamor_transfer.c +++ b/glamor/glamor_transfer.c @@ -186,7 +186,7 @@ glamor_download_boxes(PixmapPtr pixmap, BoxPtr in_boxes, int in_nbox, BoxPtr boxes = in_boxes; int nbox = in_nbox; - glBindFramebuffer(GL_READ_FRAMEBUFFER, fbo->fb); + glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); while (nbox--) { |