Zero dirty count after flushing.

pull/615/head
nicm 2016-10-18 08:39:18 +00:00
parent c2f88373e7
commit 8763bced76
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ screen_write_flush(struct screen_write_ctx *ctx)
if (dirty == ctx->dirty) if (dirty == ctx->dirty)
break; break;
} }
ctx->dirty = 0;
s->cx = cx; s->cx = cx;
s->cy = cy; s->cy = cy;