glamor_pixmap: Should bind unpack buffer to 0 after the uploading.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
e03ad27dfb
commit
0a8fb8563f
|
@ -268,6 +268,9 @@ __glamor_upload_pixmap_to_texture(PixmapPtr pixmap, GLenum format,
|
|||
pixmap->drawable.width,
|
||||
pixmap->drawable.height, 0, format, type,
|
||||
texels);
|
||||
|
||||
if (pixmap_priv->fbo->pbo && pixmap_priv->fbo->pbo_valid)
|
||||
dispatch->glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user