Don't send ready unless layer is ready to draw.
This commit is contained in:
1 parent
23ddb964b9
commit
71aef3f181
2 files changed
+10
No files matched your search
@@ -122,6 +122,10 @@ function Layer(width, height) {
|
||||
|
||||
};
|
||||
|
||||
display.isReady = function() {
|
||||
return nextUpdateToDraw >= currentUpdate;
|
||||
}
|
||||
|
||||
return display;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user