summaryrefslogtreecommitdiffstats
path: root/common/region.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-15 14:43:45 +0200
committerAlon Levy <alevy@redhat.com>2010-12-15 14:43:45 +0200
commit5d2aa8084e4432e6ae496e3e18f14c722041b9ea (patch)
treedeaf15331811bd1f15c52561284afac71fc9d1c5 /common/region.h
parent5f501a97f7c0ad5d5fb1f961ce5e78eb34f8f9e6 (diff)
downloadspice-5d2aa8084e4432e6ae496e3e18f14c722041b9ea.tar.gz
spice-5d2aa8084e4432e6ae496e3e18f14c722041b9ea.tar.xz
spice-5d2aa8084e4432e6ae496e3e18f14c722041b9ea.zip
server/red_worker: fix worker->drawable_count
drawable_count was becoming negative. It tracks the number of items in the worker->current_list ring. It was decremented correctly, but incremented only in several cases. The cases it wasn't incremented where: red_current_add_equal found an equivalent drawable by moving the increment to where the item is added to current_list, in __current_add_drawable, the accounting remains correct. This has no affect other then correct accounting, as drawable_count isn't used for anything.
Diffstat (limited to 'common/region.h')
0 files changed, 0 insertions, 0 deletions