Bug fix: Fix a BadRegion error with --glx-use-copysubbuffermesa

Just a small and mostly harmless issue. Sorry, didn't test throughly.
This commit is contained in:
Richard Grenville 2013-04-27 20:43:39 +08:00
parent 3f00b3622c
commit abd559c512
1 changed files with 1 additions and 1 deletions

View File

@ -1614,7 +1614,7 @@ paint_all(session_t *ps, XserverRegion region, XserverRegion region_real, win *t
#endif
if (!region) {
region = get_screen_region(ps);
region_real = region = get_screen_region(ps);
}
else {
// Remove the damaged area out of screen