Correction for fix #34205: Zooming in rendered mode during update out of sync with intended zoom

Didn't initially notice one possibility when GPU render would fail here,
This commit is contained in:
Sergey Sharybin 2013-02-13 07:50:41 +00:00
parent bfb319925d
commit ae385fb61c

@ -210,7 +210,12 @@ void Session::run_gpu()
* wait for pause condition notify to wake up again */
thread_scoped_lock pause_lock(pause_mutex);
if(pause || no_tiles) {
if(!pause && !tile_manager.done()) {
/* reset could have happened after no_tiles was set, before this lock.
* in this case we shall not wait for pause condition
*/
}
else if(pause || no_tiles) {
update_status_time(pause, no_tiles);
while(1) {