MessageQueue now correctly reports that an update is not required 89/20289/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 25 Apr 2014 12:11:47 +0000 (13:11 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Thu, 1 May 2014 14:29:25 +0000 (15:29 +0100)
commit330b60abdec4860a4e912475d7d9504220dc4cf3
tree7903cd23594244a21bf4252c428a7aa298806585
parentd30bed46e37dc9cd266d20729cc8a464ab53fb8b
MessageQueue now correctly reports that an update is not required

[Problem]  The message queue always reports that it has messages even if it does not.
[Cause]    The sceneUpdate counter never gets decremented to 0. This causes the update to run
           every time.
[Solution] It was being cleared within a for loop where messages are being processed, it should be
           outside this loop so is cleared if there are no messages.

Change-Id: I1d490c9c25f07813f2f904d659e5116e6b27a50c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
dali/internal/update/queue/update-message-queue.cpp