compositor: Correctly calculate changed sub image rectangle
authorRob Bradford <rob@linux.intel.com>
Mon, 2 Jul 2012 16:33:40 +0000 (17:33 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 2 Jul 2012 18:41:47 +0000 (14:41 -0400)
commit8f24156926ec8fb0d036d6a14497a742bdc72d69
tree2a4b3bf0db91155eca98a267cfe5112d57ce0499
parent0fe782bdb5f95fc4d9712d0a77df517edfc6be39
compositor: Correctly calculate changed sub image rectangle

When calling glTexSubImage2D for sub image updates for SHM surfaces the
changed rectangle was being wrongly calculated. This resulted in interesting
redraw artefacts for clients using SHM.
src/compositor.c