diff options
| author | 2012-01-26 17:09:43 -0800 | |
|---|---|---|
| committer | 2012-01-26 17:32:09 -0800 | |
| commit | e3f9cc67617ee55635c946efcff10fd920029b41 (patch) | |
| tree | f0ccdb1cc8cf7221c72182dd1936d89976ef6a76 /opengl/libagl/array.cpp | |
| parent | 109116bb2f751d84a9ce89ac40c45e76c0aa462c (diff) | |
Don't wait forever if there are no commands to execute.
BUG=5614887
This fixes a timing issue where we could calculate a delay of 0 (indicating
wait forever) when we have no pending commands to actually execute. In such
cases, we should just break out of the playback loop.
This also fixes a small issue with returning whether or not to redraw.
Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions