Clip surface damage to the surface area
authorDaniel Stone <daniel@fooishbar.org>
Wed, 7 Nov 2012 06:51:43 +0000 (17:51 +1100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 8 Nov 2012 16:32:24 +0000 (11:32 -0500)
commitd8e8271e94286ee1d7dbf10a4a29d8b854b63a55
tree71451e58ecaebc83ccfca64fc9a1800d36b220cc
parentc31f3dd6797ee9a39c3c8714d86703ff7c93da93
Clip surface damage to the surface area

Otherwise glTexSubImage2D will reject our co-ordinates as being out of
bounds.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c