main: call invalidate_framebuffer_storage() with driver's viewport limits
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 1 Mar 2016 11:02:27 +0000 (12:02 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 2 Mar 2016 06:19:01 +0000 (07:19 +0100)
commitaa849d97a0df34a1457d7205518bd82365b4eb2d
tree256434c4efc8d1c703ee390d0b9ad5511ac6d28f
parentc4ae047cabd8f7ef8ff90add285804635d8e0c50
main: call invalidate_framebuffer_storage() with driver's viewport limits

Don't use hardcoded ones because the driver can set different ones.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/fbobject.c